org.objectweb.jac.aspects.gui
Interface EditorContainer

All Known Implementing Classes:
DisplayContext, EditorContainer, SwingEditorContainer

public interface EditorContainer

A container for editor components.


Method Summary
 void addEditor(Object value)
          Add an editor to the container.
 List getEditors()
          Get the list of all editors of this container.
 boolean hasEnabledEditor()
          Returns true if at least one editor is enabled.
 void removeEditor(Object editor)
          Remove an editor from the container.
 void setShowButtons(boolean value)
          Sets the showButtons property of the container.
 boolean showButtons()
          Gets the value of showButtons
 

Method Detail

addEditor

public void addEditor(Object value)
Add an editor to the container.


removeEditor

public void removeEditor(Object editor)
Remove an editor from the container.


getEditors

public List getEditors()
Get the list of all editors of this container.


hasEnabledEditor

public boolean hasEnabledEditor()
Returns true if at least one editor is enabled.


setShowButtons

public void setShowButtons(boolean value)
Sets the showButtons property of the container. If true, it will offer a validation mechanism (typically, some OK/Cancel buttons).


showButtons

public boolean showButtons()
Gets the value of showButtons

See Also:
setShowButtons(boolean)