org.jfree.ui.tabbedui
Class RootPanel
JComponent
org.jfree.ui.tabbedui.RootPanel
- RootEditor
A root panel is a panel implementation of an root editor.
JComponent | getMainPanel() - Returns the main panel.
|
JComponent | getToolbar() - Returns the toolbar.
|
boolean | isActive() - Returns a flag that indicates whether the panel is active or not.
|
protected void | panelActivated() - Called when the panel is activated.
|
protected void | panelDeactivated() - Called when the panel is deactivated.
|
void | setActive(boolean active) - Sets the status of the panel to active or inactive.
|
RootPanel
public RootPanel()
Default constructor.
getMainPanel
public JComponent getMainPanel()
Returns the main panel. Returns the self reference, as this panel
implements all necessary methods.
- getMainPanel in interface RootEditor
getToolbar
public JComponent getToolbar()
Returns the toolbar. This default implementation return null, to indicate
that no toolbar is used.
- getToolbar in interface RootEditor
isActive
public final boolean isActive()
Returns a flag that indicates whether the panel is active or not.
- isActive in interface RootEditor
panelActivated
protected void panelActivated()
Called when the panel is activated.
panelDeactivated
protected void panelDeactivated()
Called when the panel is deactivated.