|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JInternalFrame | +--fdda.dialog.swing.SystemFrame | +--fdda.dialog.swing.FrameControlProxy
A frame containing a graphical system. Delegates core graphical operations to the graphics control.
Field Summary |
Fields inherited from class fdda.dialog.swing.SystemFrame |
graphicalSystem, SF_NONE, SF_PROJECT |
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.Container |
|
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 | |
FrameControlProxy(String title,
GraphicsControl graphicsControl)
Constructor. |
Method Summary | |
void |
deleteSelection()
Deletes the selected components. |
protected void |
frameClosing()
Closes the frame. |
int |
getFrameMode()
Returns the frame mode. |
GraphicsControl |
getGraphicsControl()
Sets the graphics control |
void |
paint(Graphics g)
|
void |
saveJPEG()
Exports the graphics into a jpeg image file. |
void |
selectMovables()
Selects all movable components. |
void |
setFrameMode(int frameMode)
Sets the frame mode. |
void |
setGraphicalSystem(GraphicalSystem system)
Sets the graphical system. |
void |
setSelectedAction(int action)
Sets the action selected by the user |
void |
zoomIn()
Zooms in. |
void |
zoomOut()
Zooms out. |
Methods inherited from class fdda.dialog.swing.SystemFrame |
getGraphicalSystem, getProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FrameControlProxy(String title, GraphicsControl graphicsControl)
Method Detail |
public void setGraphicalSystem(GraphicalSystem system)
setGraphicalSystem
in class SystemFrame
system
- the graphical systemprotected void frameClosing()
SystemFrame
frameClosing
in class SystemFrame
public void zoomIn()
public void zoomOut()
public void selectMovables()
public void deleteSelection()
public void paint(Graphics g)
paint
in class JComponent
public int getFrameMode()
public void setFrameMode(int frameMode)
frameMode
- the new modepublic void saveJPEG()
public void setSelectedAction(int action)
action
- the actionpublic GraphicsControl getGraphicsControl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |