Method Summary |
|
public static Frame | getActiveFrame() Returns the first active frame. |
public static Frame | getFrame(ActionEvent event) Returns the frame for event if the even source is a
Component or the active frame.
Parameters: event - The event to get the frame from. |
public static JGraphpadPane | getJGraphpadPane() Returns the JGraphpadPane inside the active frame. |
public static JGraphpadPane | getJGraphpadPane(JFrame frame) Returns the JGraphpadPane inside the given frame. |
public String | getName() Returns the name. |
public static JGraph | getParentGraph(Component component) Returns the parent diagram pane of the specified component, or the
component itself if it is a editor diagram pane. |
public static Component | getPermanentFocusOwner() Returns the permanent focus owner. |
public static JGraphEditorDiagram | getPermanentFocusOwnerDiagram() Returns the diagram for the diagram pane that has the focus. |
public static JGraphEditorDiagramPane | getPermanentFocusOwnerDiagramPane() Returns the diagram pane that contains the permanent focus owner. |
public static JGraph | getPermanentFocusOwnerGraph() Returns the permanent focus owner graph. |
public static Component | getPermanentFocusOwnerOrParent() Returns the permanent focus owner or the parent scroll pane of it. |
public static String | getString(String key) Shortcut method to
JGraphEditorResources.getString(String) . |
public boolean | isSelected() Returns the selection state. |
public boolean | isToggleAction() Returns whether the UI elements should display the selection state. |
public boolean | isVisible() Returns the visible state. |
public void | setEnabled(boolean newValue) |
public void | setSelected(boolean selected) Sets the selection state. |
public void | setToggleAction(boolean isToggleAction) Sets whether the UI elements should display the selection state. |
public void | setVisible(boolean visible) Sets the visible state. |