| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlContainer
All known Subclasses: com.salmonllc.html.HtmlPopup, com.salmonllc.gui.NavigationMenu, com.salmonllc.html.HtmlInlineFrame, com.salmonllc.html.HtmlLink, com.salmonllc.html.HtmlAnchor, com.salmonllc.html.HtmlDataTable, com.salmonllc.html.HtmlDisplayBox, com.salmonllc.forms.BaseForm, com.salmonllc.html.HtmlTable, com.salmonllc.forms.DateRange, com.salmonllc.html.HtmlComposite, com.salmonllc.html.HtmlBackLink, com.salmonllc.html.HtmlLayer, com.salmonllc.gui.Banner,
HtmlContainer | public class HtmlContainer extends HtmlComponent (Code) | | This class is a holder for other components. Placing components in a container allows them all to be acted upon once.
|
_center | protected boolean _center(Code) | | Centers the componets in the container
|
_componentsVec | protected Vector _componentsVec(Code) | | Vector to store all the componets added to the container
|
_enabled | protected boolean _enabled(Code) | | enabled flag
|
clearSubmit | public void clearSubmit()(Code) | | Clears the submit component in this container or children containers. The container stores which component inside it
submitted a particular page for one invocation so it can route to the correct submit performed methods. Once that's done,
the framework needs to clear out that value for the next page invocation. This method is used by the framework and should not be called directly.
|
executeEvent | public boolean executeEvent(int eventType) throws Exception(Code) | | |
getCenter | public boolean getCenter()(Code) | | Use this method to find out if the components will be centered in the container
- boolean |
getComponent | public HtmlComponent getComponent(String name)(Code) | | This method will return a single component if the
name or a portion of the name is found in this HtmlContainer or any
HtmlContainer contained in this container.
HtmlComponent - if a component can not be found null is returned Parameters: name - - name of component being searched for |
getComponents | public Enumeration getComponents()(Code) | | This method will return a list of all components in the container.
|
getEnabled | public boolean getEnabled()(Code) | | Returns true if the component is enabled to respond to user input.
boolean |
getSubmitComponent | public HtmlComponent getSubmitComponent()(Code) | | Returns the component that submitted the page if that component is in the container or null otherwise.
- HtmlComponent |
insertComponentAt | public void insertComponentAt(HtmlComponent comp, int index)(Code) | | Adds a new html component to the container at a specified index
|
remove | public void remove(HtmlComponent comp)(Code) | | Removes an html component from this container.
Parameters: comp - The component to remove |
removeAll | public void removeAll()(Code) | | This method removes all the components from a container
|
replaceComponent | public boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code) | | Replaces a html component with another one that you pass in.
Parameters: comp - com.salmonllc.html.HtmlComponent - conponent that you would like to be in the container after the replace operation Parameters: compToReplace - Object - a handle to the component to replace ( this is the one that should be replaced after the call to this method ) boolean |
reset | public void reset()(Code) | | This method will clear all pending events from the event queue for this component and components it contains.
|
setCenter | public void setCenter(boolean center)(Code) | | Use this method to indicate that the components in the container should be centered.
|
setEnabled | public void setEnabled(boolean enabled)(Code) | | Sets the flag for ability to respond to user input (true = does respond).
|
toString | public String toString()(Code) | | Creates a String representation of the contents of the HtmlContainer
- contents of container as a string representation |
|
|