|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.carabiner.treeeditor.js.swing.JSSwingComponent
jp.carabiner.treeeditor.js.swing.JSSwingContainer
jp.carabiner.treeeditor.js.swing.JSSwingToolBarItem
public class JSSwingToolBarItem
JavaScriptから操作するためのメニューです。
| 入れ子のクラスの概要 |
|---|
| インタフェース jp.carabiner.treeeditor.js.JSComponent から継承された入れ子のクラス/インタフェース |
|---|
JSComponent.AttachContext<T> |
| コンストラクタの概要 | |
|---|---|
JSSwingToolBarItem(JSAppContext owner,
JButton menuItem)
構築します。 |
|
| メソッドの概要 | |
|---|---|
String |
getIcon()
アイコンを取得します。 |
int |
getKey()
キーを取得します。 |
int |
getModifier()
キー修飾子を取得します。 |
String |
getText()
メニューのテキストを取得します。 |
String |
getTooltips()
ツールチップを取得します。 |
void |
setIcon(String icon)
アイコンを設定します。 |
void |
setKeyStroke(int key,
int modifier)
キーを設定します。 |
void |
setText(String text)
テキストを設定します。 |
void |
setTooltips(String tooltips)
ツールチップを設定します。 |
| クラス jp.carabiner.treeeditor.js.swing.JSSwingContainer から継承されたメソッド |
|---|
appendChild, createWrapper, getChildNodes, insertBefore, removeChild |
| クラス jp.carabiner.treeeditor.js.swing.JSSwingComponent から継承されたメソッド |
|---|
equals, getCore, getCoreForAttach, getCoreForDetach, getParentNode, getType, hashCode |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| インタフェース jp.carabiner.treeeditor.js.JSComponent から継承されたメソッド |
|---|
getCore, getCoreForAttach, getCoreForDetach, getParentNode, getType |
| コンストラクタの詳細 |
|---|
public JSSwingToolBarItem(JSAppContext owner,
JButton menuItem)
owner - オーナーウィンドウ。nullは不可。menuItem - メニューアイテム。nullは不可。| メソッドの詳細 |
|---|
public String getText()
JSUIItem 内の getTextpublic String getIcon()
JSUIItem の記述:
JSUIItem 内の getIconpublic int getKey()
JSUIItem の記述:
JSUIItem 内の getKeypublic int getModifier()
JSUIItem の記述:
JSUIItem 内の getModifierpublic String getTooltips()
JSUIItem の記述:
JSUIItem 内の getTooltipspublic void setIcon(String icon)
JSUIItem の記述:
JSUIItem 内の setIconicon - the icon to set
public void setKeyStroke(int key,
int modifier)
JSUIItem の記述:
JSUIItem 内の setKeyStrokekey - the key to setmodifier - the modifier to setpublic void setText(String text)
JSUIItem の記述:
JSUIItem 内の setTexttext - the text to setpublic void setTooltips(String tooltips)
JSUIItem の記述:
JSUIItem 内の setTooltipstooltips - the tooltips to set
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||