org.jfree.ui.tabbedui

Interface RootEditor

public interface RootEditor

A root editor reprensents a tab in a TabbedUI.

Author: Thomas Morgner

Method Summary
voidaddPropertyChangeListener(String property, PropertyChangeListener l)
Adds a property change listener.
voidaddPropertyChangeListener(PropertyChangeListener l)
Adds a property change listener.
StringgetEditorName()
Returns the editor name.
JComponentgetMainPanel()
Returns the main panel.
JMenu[]getMenus()
Returns the menus.
JComponentgetToolbar()
Returns the toolbar.
booleanisActive()
Returns the active or inactive status of the editor.
booleanisEnabled()
Checks, whether this root editor is enabled.
voidremovePropertyChangeListener(String property, PropertyChangeListener l)
Removes a property change listener.
voidremovePropertyChangeListener(PropertyChangeListener l)
Removes a property change listener.
voidsetActive(boolean b)
Sets the editor active or inactive.

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(String property, PropertyChangeListener l)
Adds a property change listener.

Parameters: property the property name. l the listener.

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Adds a property change listener.

Parameters: l the listener.

getEditorName

public String getEditorName()
Returns the editor name.

Returns: The editor name.

getMainPanel

public JComponent getMainPanel()
Returns the main panel.

Returns: The main panel.

getMenus

public JMenu[] getMenus()
Returns the menus.

Returns: The menus.

getToolbar

public JComponent getToolbar()
Returns the toolbar.

Returns: The toolbar.

isActive

public boolean isActive()
Returns the active or inactive status of the editor.

Returns: A boolean.

isEnabled

public boolean isEnabled()
Checks, whether this root editor is enabled.

Returns: true, if the editor is enabled, false otherwise.

removePropertyChangeListener

public void removePropertyChangeListener(String property, PropertyChangeListener l)
Removes a property change listener.

Parameters: property the property name. l the listener.

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Removes a property change listener.

Parameters: l the listener.

setActive

public void setActive(boolean b)
Sets the editor active or inactive.

Parameters: b a boolean.