|
org.netbeans.modules.jellytools.platform/3 3.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.jellytools.actions.Action
org.netbeans.jellytools.actions.AttachWindowAction
public class AttachWindowAction
Used to attach a window to a new position by IDE API. It also defines constants used for attaching.
Usage:
TopComponentOperator tco = new TopComponentOperator("Runtime");
// attach Runtime top component right to Execution View
new AttachWindowAction("Execution View", AttachWindowAction.RIGHT).perform(tco);
Thread.sleep(2000);
// attach Runtime top component back (next to Filesystems as the last tab)
new AttachWindowAction("Filesystems", AttachWindowAction.AS_LAST_TAB).perform(tco);
Action,
TopComponentOperator| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.jellytools.actions.Action |
|---|
Action.Shortcut |
| Field Summary | |
|---|---|
static String |
AS_LAST_TAB
|
static String |
BOTTOM
|
static String |
LEFT
|
static String |
RIGHT
|
static String |
TOP
|
| Fields inherited from class org.netbeans.jellytools.actions.Action |
|---|
AFTER_ACTION_WAIT_TIME, API_MODE, keystrokes, layerInstancePath, MENU_MODE, menuPath, POPUP_MODE, popupPath, SELECTION_WAIT_TIME, SHORTCUT_MODE, systemActionClass, WAIT_AFTER_SHORTCUT_TIMEOUT |
| Constructor Summary | |
|---|---|
AttachWindowAction(String targetTopComponentName,
String side)
Create new AttachWindowAction instance. |
|
AttachWindowAction(TopComponentOperator targetTopComponentOperator,
String side)
Create new AttachWindowAction instance. |
|
| Method Summary | |
|---|---|
void |
performAPI(org.netbeans.jemmy.operators.ComponentOperator compOperator)
Attach given TopComponentOperator to position specified in constructor of action. |
void |
performAPI(Node[] nodes)
Throws UnsupportedOperationException because AttachWindowAction doesn't have representation on nodes. |
void |
performAPI(TopComponentOperator tco)
Attaches given TopComponentOperator to position specified in constructor of action. |
void |
performMenu(Node[] nodes)
Throws UnsupportedOperationException because AttachWindowAction doesn't have representation on nodes. |
void |
performPopup(Node[] nodes)
Throws UnsupportedOperationException because AttachWindowAction doesn't have popup representation on nodes. |
void |
performShortcut(Node[] nodes)
Throws UnsupportedOperationException because AttachWindowAction doesn't have representation on nodes. |
| Methods inherited from class org.netbeans.jellytools.actions.Action |
|---|
getComparator, getDefaultMode, getKeyStrokes, getMenuPath, getPopupPath, getSystemActionClass, isEnabled, isEnabled, isEnabled, isEnabled, perform, perform, perform, perform, perform, performAPI, performAPI, performAPI, performMenu, performMenu, performMenu, performMenu, performPopup, performPopup, performPopup, performPopup, performShortcut, performShortcut, performShortcut, performShortcut, setComparator, setDefaultMode, testNodes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TOP
public static final String BOTTOM
public static final String LEFT
public static final String RIGHT
public static final String AS_LAST_TAB
| Constructor Detail |
|---|
public AttachWindowAction(String targetTopComponentName,
String side)
targetTopComponentName - name of top component defining a position
where to attach top componentside - side where to attach top component (LEFT,
RIGHT, TOP, BOTTOM, AS_LAST_TAB)
public AttachWindowAction(TopComponentOperator targetTopComponentOperator,
String side)
targetTopComponentOperator - operator of top component defining a position
where to attach top componentside - side where to attach top component (LEFT,
RIGHT, TOP, BOTTOM, AS_LAST_TAB)| Method Detail |
|---|
public void performAPI(org.netbeans.jemmy.operators.ComponentOperator compOperator)
performAPI in class ActioncompOperator - TopComponentOperator which should be attached to desired
positionpublic void performAPI(TopComponentOperator tco)
tco - TopComponentOperator which should be attached to desired
positionpublic void performAPI(Node[] nodes)
performAPI in class Actionnodes - array of nodespublic void performMenu(Node[] nodes)
performMenu in class Actionnodes - array of nodespublic void performPopup(Node[] nodes)
performPopup in class Actionnodes - array of nodespublic void performShortcut(Node[] nodes)
performShortcut in class Actionnodes - array of nodes
|
org.netbeans.modules.jellytools.platform/3 3.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||