org.netbeans.modules.jellytools.platform/3 3.13

org.netbeans.jellytools.actions
Class CloseViewAction

java.lang.Object
  extended by org.netbeans.jellytools.actions.Action
      extended by org.netbeans.jellytools.actions.CloseViewAction

public class CloseViewAction
extends Action

Used to call "Close Window" popup menu item, "Window|Close Window" main menu, "org.openide.actions.CloseViewAction" or Ctrl+F4 shortcut.

See Also:
Action

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.jellytools.actions.Action
Action.Shortcut
 
Field Summary
 
Fields inherited from class org.netbeans.jellytools.actions.Action
AFTER_ACTION_WAIT_TIME, API_MODE, keystrokes, layerInstancePath, MENU_MODE, POPUP_MODE, SELECTION_WAIT_TIME, SHORTCUT_MODE, systemActionClass, WAIT_AFTER_SHORTCUT_TIMEOUT
 
Constructor Summary
CloseViewAction()
          Create new CloseViewAction instance.
 
Method Summary
 void performAPI(Node[] nodes)
          Throws UnsupportedOperationException because CloseViewAction doesn't have representation on nodes.
 void performMenu(Node[] nodes)
          Throws UnsupportedOperationException because CloseViewAction doesn't have representation on nodes.
 void performPopup(org.netbeans.jemmy.operators.ComponentOperator compOperator)
          Performs popup action Close Window on given component operator which is activated before the action.
 void performPopup(Node[] nodes)
          Throws UnsupportedOperationException because CloseViewAction doesn't have popup representation on nodes.
 void performPopup(TopComponentOperator tco)
          Performs popup action Close Window on given top component operator which is activated before the action.
 void performShortcut(Node[] nodes)
          Throws UnsupportedOperationException because CloseViewAction 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, performAPI, performMenu, performMenu, performMenu, performMenu, 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
 

Constructor Detail

CloseViewAction

public CloseViewAction()
Create new CloseViewAction instance.

Method Detail

performPopup

public void performPopup(org.netbeans.jemmy.operators.ComponentOperator compOperator)
Performs popup action Close Window on given component operator which is activated before the action. It only accepts TopComponentOperator as parameter.

Overrides:
performPopup in class Action
Parameters:
compOperator - operator which should be activated and closed

performPopup

public void performPopup(TopComponentOperator tco)
Performs popup action Close Window on given top component operator which is activated before the action.

Parameters:
tco - operator which should be activated and closed

performPopup

public void performPopup(Node[] nodes)
Throws UnsupportedOperationException because CloseViewAction doesn't have popup representation on nodes.

Overrides:
performPopup in class Action
Parameters:
nodes - array of nodes

performAPI

public void performAPI(Node[] nodes)
Throws UnsupportedOperationException because CloseViewAction doesn't have representation on nodes.

Overrides:
performAPI in class Action
Parameters:
nodes - array of nodes

performMenu

public void performMenu(Node[] nodes)
Throws UnsupportedOperationException because CloseViewAction doesn't have representation on nodes.

Overrides:
performMenu in class Action
Parameters:
nodes - array of nodes

performShortcut

public void performShortcut(Node[] nodes)
Throws UnsupportedOperationException because CloseViewAction doesn't have representation on nodes.

Overrides:
performShortcut in class Action
Parameters:
nodes - array of nodes

org.netbeans.modules.jellytools.platform/3 3.13

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.