Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
convertToElement([located], [markupTag]) | XMLElement | Converts the XML attribute to a child element of its parent element. |
| [located] |
XMLElementLocation(既定値=XMLElementLocation.ELEMENT_START)
XMLElementLocation |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ELEMENT_END | 1483042404 | |
  
   |
ELEMENT_START | 1482844014 | |
| | The location of the new XML element within the parent XML element of the XML attribute. |
| [markupTag] |
XMLTag
| | The XML tag to apply to the new XML element. |
  
   |
getElements() | XMLAttribute | |
  
   |
remove() | なし | 削除 |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
select([existingSelection]) | なし | 選択状態にする |
| [existingSelection] |
SelectionOptions(既定値=SelectionOptions.REPLACE)
SelectionOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ADD_TO | 1633969202 | 追加選択する |
  
   |
REMOVE_FROM | 1919249734 | 選択から削除する |
  
   |
REPLACE | 1701998700 | 置き換える |
  
   |
REPLACE_WITH | 1919250519 | 置き換える |
| | 既に選択されているものがあった場合 |
  
   |
select([existingSelection]) | なし | 選択状態にする |
| [existingSelection] |
SelectionOptions(既定値=SelectionOptions.REPLACE_WITH)
SelectionOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ADD_TO | 1633969202 | 追加選択する |
  
   |
REMOVE_FROM | 1919249734 | 選択から削除する |
  
   |
REPLACE | 1701998700 | 置き換える |
  
   |
REPLACE_WITH | 1919250519 | 置き換える |
| | 既に選択されているものがあった場合 |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |