public final class FieldMapBuilderStorage extends Storage<FieldMapBuilder> implements XMLFileSupport
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getHeight() |
static FieldMapBuilderStorage |
getInstance()
インスタンスを取得します.
|
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
readFromXML(java.lang.String filePath)
コンテンツをXMLからロードします.
|
void |
setHeight(int height) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
java.lang.String |
toString() |
add, addAll, addAll, asList, clear, contains, contains, containsAll, get, getAll, getIfContains, getProperties, isEmpty, iterator, keySet, printAll, printAll, put, putAll, putAll, remove, remove, removeAll, removeAll, removeAll, size
public static FieldMapBuilderStorage getInstance()
public void readFromXML(java.lang.String filePath) throws IllegalXMLFormatException, ContentsFileNotFoundException, ContentsIOException, DuplicateNameException, java.lang.NumberFormatException
XMLFileSupport
readFromXML
インタフェース内 XMLFileSupport
filePath
- ロードするXMLファイルのパスを指定します。IllegalXMLFormatException
- XMLフォーマットがDTDに適合しない場合などに投げることができます。ContentsFileNotFoundException
- 指定されたファイルが存在しない場合に投げられます。ContentsIOException
- 指定されたファイルがロードできない場合に投げられます。DuplicateNameException
java.lang.NumberFormatException
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public java.lang.String toString()
toString
クラス内 Storage<FieldMapBuilder>