|
![]() |
||||||||||
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.JPanel | +--uk.org.iscream.cms.conient.ControlPanel
This panel holds the toolbar at the top. The tool bar dispatches events to the ConnectionHandler. It also creates and starts the ConnectionHandler which is the main thread for this application
Field Summary | |
(package private) Queue |
_actionQueue
The queue that we will add actions to. |
(package private) ConnectionHandler |
_handler
The connection handler in use by the system. |
(package private) JMenuBar |
_menuBar
The menu bar for the Frame |
(package private) JToolBar |
_toolBar
The tool bar for the control panel |
String |
REVISION
The current CVS revision of this class |
Fields inherited from class javax.swing.JPanel |
|
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ControlPanel(DataPanel data)
Constructs a new ControlPanel. |
Method Summary | |
JMenuBar |
getMenuBar()
|
JMenuBar |
setupMenuBar()
|
private JToolBar |
setupToolBar()
Sets up the tool bar, adding action listeners to dispatch events to the ConnectionHandler |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String REVISION
JToolBar _toolBar
JMenuBar _menuBar
Queue _actionQueue
ConnectionHandler _handler
Constructor Detail |
public ControlPanel(DataPanel data)
data
- the data panel to be passed to the ConnectionHandlerMethod Detail |
private JToolBar setupToolBar()
public JMenuBar setupMenuBar()
public JMenuBar getMenuBar()
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |