|
Cytoscape 2.3.1 (c) 2004 ISB, MSKCC, UCSD | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JSplitPane
cytoscape.view.cytopanels.BiModalJSplitPane
The BiModalJSplitPane class extends JSplitPane to provide two modes:
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Field Summary | |
static int |
MODE_HIDE_SPLIT
|
static String |
MODE_PROPERTY
Property listener modes. |
static int |
MODE_SHOW_SPLIT
Available modes of the BiModalJSplitPane. |
Fields inherited from class javax.swing.JSplitPane |
BOTTOM, CONTINUOUS_LAYOUT_PROPERTY, DIVIDER, DIVIDER_LOCATION_PROPERTY, DIVIDER_SIZE_PROPERTY, HORIZONTAL_SPLIT, LAST_DIVIDER_LOCATION_PROPERTY, LEFT, ONE_TOUCH_EXPANDABLE_PROPERTY, ORIENTATION_PROPERTY, RESIZE_WEIGHT_PROPERTY, RIGHT, TOP, VERTICAL_SPLIT |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
BiModalJSplitPane(JFrame f,
int orientation,
int initialMode,
Component leftComponent,
Component rightComponent)
Constructor. |
Method Summary | |
Rectangle |
getBounds()
Gets the bounds of the applications mainframe. |
Point |
getLocationOnScreen()
Gets the location of the applications mainframe. |
int |
getMode()
Gets the current mode. |
void |
insertCytoPanel(CytoPanelImp cytoPanel,
int compassDirection)
Inserts CytoPanel at desired compass direction. |
void |
setMode(CytoPanelState cytoPanelState,
int newMode)
Sets the BiModalJSplitframe mode. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MODE_SHOW_SPLIT
public static final int MODE_HIDE_SPLIT
public static final String MODE_PROPERTY
Constructor Detail |
public BiModalJSplitPane(JFrame f, int orientation, int initialMode, Component leftComponent, Component rightComponent)
orientation
- JSplitPane Orientation.
JSplitPane.HORIZONTAL_SPLIT or
JSplitPane.VERTICAL_SPLIT.initialMode
- Initial Mode.
MODE_SHOW_SPLIT or
MODE_HIDE_SPLIT.leftComponent
- Left/Top Component.rightComponent
- Right/Bottom Component.Method Detail |
public void insertCytoPanel(CytoPanelImp cytoPanel, int compassDirection)
insertCytoPanel
in interface CytoPanelContainer
cytoPanel
- CytoPanel reference.compassDirection
- SwingConstants integer value.public Point getLocationOnScreen()
getLocationOnScreen
in interface CytoPanelContainer
public Rectangle getBounds()
getBounds
in interface CytoPanelContainer
public void setMode(CytoPanelState cytoPanelState, int newMode)
newMode
- MODE_SHOW_SPLIT or MODE_HIDE_SPLIT.public int getMode()
|
www.cytoscape.org | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |