|
||||||||||
| 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.JToolBar
|
+--fdda.dialog.swing.ButtonBar
The button bar shown for quick access to functions that are used often.
| Field Summary |
| 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.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ButtonBar(MainFrame frame)
Constructor. |
|
| Method Summary | |
void |
activeProjectChanged(ProjectEvent e)
Informs the listener that another project has been activated |
void |
demoPaused(boolean pause)
Informs the button bar that the demo was paused or continued |
ToggleButtonGroup |
getToolsButtonGroup()
Returns the button group for the tools buttons |
void |
projectClosed(ProjectEvent e)
Informs the listener that a project has been closed |
void |
projectNameChanged(ProjectEvent e)
Informs the listener that the name of a project has been changed |
void |
projectOpened(ProjectEvent e)
Informs the listener that a project has been opened |
void |
projectStateChanged(ProjectEvent e)
Informs the listener that a project has changed its state |
void |
selectionChanged(SelectionEvent e)
Informs the listener that the selection has changed. |
void |
setOInspectorButton(boolean status)
Sets the status of the properties button |
void |
setSystemFrameButtons(int code)
Informs the button bar about the type of a system frame |
void |
toolSelected(int tool,
boolean sticky)
Informs the button bar that another tool was selected |
| Methods inherited from class javax.swing.JToolBar |
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ButtonBar(MainFrame frame)
frame - the main frame| Method Detail |
public ToggleButtonGroup getToolsButtonGroup()
public void setSystemFrameButtons(int code)
code - the typepublic void setOInspectorButton(boolean status)
public void toolSelected(int tool,
boolean sticky)
tool - the new toolsticky - whether the selection is stickypublic void demoPaused(boolean pause)
pause - true, iff it was pausedpublic void selectionChanged(SelectionEvent e)
SelectionListener
selectionChanged in interface SelectionListenere - the eventpublic void projectOpened(ProjectEvent e)
ProjectListener
projectOpened in interface ProjectListenere - the eventpublic void projectClosed(ProjectEvent e)
ProjectListener
projectClosed in interface ProjectListenere - the eventpublic void activeProjectChanged(ProjectEvent e)
ProjectListener
activeProjectChanged in interface ProjectListenere - the eventpublic void projectStateChanged(ProjectEvent e)
ProjectListener
projectStateChanged in interface ProjectListenere - the eventpublic void projectNameChanged(ProjectEvent e)
ProjectListener
projectNameChanged in interface ProjectListenere - the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||