|
||||||||||
| 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.JInternalFrame
org.simbrain.network.NetworkFrame
public final class NetworkFrame
Network frame.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
|---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
| 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.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JInternalFrame |
|---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
| 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 javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
NetworkFrame()
Create a new network frame. |
|
| Method Summary | |
|---|---|
String |
getGenericPath()
Return the platform-specific path for this network frame. |
NetworkPanel |
getNetworkPanel()
Return the network panel for this network frame. |
String |
getPath()
Return the path for this network frame. |
int |
getTheHeight()
Return the "theHeight" for this network frame. |
int |
getTheWidth()
Return the "theWidth" for this network frame. |
Workspace |
getWorkspace()
Return the workspace for this network frame. |
int |
getXpos()
Return the "xpos" for this network frame. |
int |
getYpos()
Return the "ypos" for this network frame. |
void |
initBounds()
Initialize individual dimension properties from this component's bounds. |
void |
menuCanceled(MenuEvent arg0)
|
void |
menuDeselected(MenuEvent arg0)
|
void |
menuSelected(MenuEvent me)
|
void |
setPath(String path)
Sets a path to this network in a manner independent of OS. |
void |
setTheHeight(int theHeight)
Set the "theHeight" for this network frame to theHeight. |
void |
setTheWidth(int theWidth)
Set the "theWidth" for this network frame to theHeight. |
void |
setXpos(int xpos)
Set the "xpos" for this network frame to xpos. |
void |
setYpos(int ypos)
Set the "ypos" for this network frame to ypos. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkFrame()
| Method Detail |
|---|
public NetworkPanel getNetworkPanel()
public Workspace getWorkspace()
public String getPath()
public String getGenericPath()
public void setPath(String path)
path - the path for this network framepublic int getTheHeight()
public void setTheHeight(int theHeight)
theHeight.
Persistence requires the dimensions of this component's bounds to be
accessible individually.
theHeight - the "theHeight" for this network framepublic int getTheWidth()
public void setTheWidth(int theWidth)
theHeight.
Persistence requires the dimensions of this component's bounds to be
accessible individually.
theWidth - the "theWidth" for this network framepublic int getXpos()
public void setXpos(int xpos)
xpos.
Persistence requires the dimensions of this component's bounds to be
accessible individually.
xpos - the "xpos" for this network framepublic int getYpos()
public void setYpos(int ypos)
ypos.
Persistence requires the dimensions of this component's bounds to be
accessible individually.
ypos - the "ypos" for this network framepublic void initBounds()
xpos,
ypos, theWidth, and theHeight
for (x, y, w, h) respectively.
public void menuSelected(MenuEvent me)
menuSelected in interface MenuListenerMenuListenerpublic void menuDeselected(MenuEvent arg0)
menuDeselected in interface MenuListenerMenuListenerpublic void menuCanceled(MenuEvent arg0)
menuCanceled in interface MenuListenerMenuListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||