|
Cytoscape 2.8.2 API | |||||||||
| 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
public class BiModalJSplitPane
The BiModalJSplitPane class extends JSplitPane to provide two modes:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JSplitPane |
|---|
JSplitPane.AccessibleJSplitPane |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| 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.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 |
|---|
clone, equals, finalize, 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 CytoPanelContainercytoPanel - CytoPanel reference.compassDirection - SwingConstants integer value.public Point getLocationOnScreen()
getLocationOnScreen in interface CytoPanelContainergetLocationOnScreen in class Componentpublic Rectangle getBounds()
getBounds in interface CytoPanelContainergetBounds in class Component
public void setMode(CytoPanelState cytoPanelState,
int newMode)
newMode - MODE_SHOW_SPLIT or MODE_HIDE_SPLIT.public int getMode()
|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||