org.jfree.ui.tabbedui
Interface RootEditor
- RootPanel
A root editor reprensents a tab in a TabbedUI.
addPropertyChangeListener
public void addPropertyChangeListener(String property,
PropertyChangeListener l)
Adds a property change listener.
property
- the property name.l
- the listener.
getEditorName
public String getEditorName()
Returns the editor name.
getMainPanel
public JComponent getMainPanel()
Returns the main panel.
getMenus
public JMenu[] getMenus()
Returns the menus.
getToolbar
public JComponent getToolbar()
Returns the toolbar.
isActive
public boolean isActive()
Returns the active or inactive status of the editor.
isEnabled
public boolean isEnabled()
Checks, whether this root editor is enabled.
- true, if the editor is enabled, false otherwise.
removePropertyChangeListener
public void removePropertyChangeListener(String property,
PropertyChangeListener l)
Removes a property change listener.
property
- the property name.l
- the listener.
setActive
public void setActive(boolean b)
Sets the editor active or inactive.