| com.jeta.open.gui.framework.JETAContainer
All known Subclasses: com.jeta.open.gui.framework.JETAPanel, com.jeta.swingbuilder.gui.main.MainFrame,
JETAContainer | public interface JETAContainer (Code) | | An interface for containers ( Panels, Dialogs, InternalFrames, and Frames).
JETAControllers work with JETAContainers.
author: Jeff Tassin |
enableComponent | public void enableComponent(String commandId, boolean bEnable)(Code) | | Enables/Disables the menu/toolbar button associated with the commandid
Parameters: commandId - the id of the command whose button to enable/disable Parameters: bEnable - true/false to enable/disable |
getComponentByName | public Component getComponentByName(String compName)(Code) | | Locates the first component found in this container hierarchy that has
the given name. This will recursively search into child containers as
well. If no component is found with the given name, null is returned.
Parameters: compName - the name of the component to search for the named component |
getComponentsByName | public Collection getComponentsByName(String compName)(Code) | | Locates all components found in this container hierarchy that has the
given name. This will recursively search into child containers as well.
This method is useful for frame windows that can have multiple components
with the same name. For example, a menu item and toolbar button for the
same command would have the same name.
Parameters: compName - the name of the components to search for a collection of See Also: Component See Also: objects that have the given name. |
getUIDirector | public UIDirector getUIDirector()(Code) | | Returns the UIDirector for this container. UIDirectors are part of this
framework and are responsible for enabling/disabling components based on
the program state. For example, menu items and toolbar buttons must be
enabled or disabled depending on the current state of the frame window.
UIDirectors handle this logic.
the UIDirector |
|
|