Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
|
add(exportType, exportTag, exportClass, exportAttributes, [withProperties]) |
StyleExportTagMap | 新しいオブジェクトを作成し、それを返す |
| exportType |
文字列値 | | The type of export. |
| exportTag |
文字列値 | | The tag to map. |
| exportClass |
文字列値 | | The class to map. |
| exportAttributes |
文字列値 | | The attributes to map. |
| [withProperties] |
Object | | プロパティを設定 |
|
anyItem() |
StyleExportTagMap | どれかのオブジェクトを返す |
|
count() |
数値 | 要素数を返す |
|
everyItem() |
Array( StyleExportTagMap ) | 全てのオブジェクトを返す |
|
firstItem() |
StyleExportTagMap | 最初のオブジェクトを返す |
|
item(index) |
StyleExportTagMap | インデックスまたは名前で指定したオブジェクトを返す |
| index |
数値, 文字列値 | | インデックスまたは名前 |
|
itemByRange(from, to) |
Array( StyleExportTagMap ) | 範囲で指定したオブジェクトを返す |
| from |
StyleExportTagMap, 数値, 文字列値 | | 範囲の開始 |
| to |
StyleExportTagMap, 数値, 文字列値 | | 範囲の終了 |
|
lastItem() |
StyleExportTagMap | 最後のオブジェクトを返す |
|
middleItem() |
StyleExportTagMap | 真ん中のオブジェクトを返す |
|
nextItem(obj) |
StyleExportTagMap | 一つ後のオブジェクトを返す |
| obj |
StyleExportTagMap | | 位置の基準になるオブジェクト |
|
previousItem(obj) |
StyleExportTagMap | 一つ前のオブジェクトを返す |
| obj |
StyleExportTagMap | | 位置の基準になるオブジェクト |
|
toSource() |
文字列値 | ソースコードを表す文字列を返す |