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