| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.jsp.JspContainer
All known Subclasses: com.salmonllc.jsp.JspDetailForm, com.salmonllc.jsp.JspTable, com.salmonllc.wml.WmlOption, com.salmonllc.jsp.JspListForm, com.salmonllc.wml.WmlSubmit, com.salmonllc.jsp.JspList, com.salmonllc.jsp.JspNavBar, com.salmonllc.jsp.JspForm, com.salmonllc.jsp.JspRaw, com.salmonllc.wml.WmlLink, com.salmonllc.jsp.JspSubReportContainer, com.salmonllc.wml.WmlGo, com.salmonllc.jsp.JspTableRow, com.salmonllc.jsp.JspBox, com.salmonllc.wml.WmlCard, com.salmonllc.jsp.JspDataTable, com.salmonllc.jsp.JspLink, com.salmonllc.wml.WmlDo, com.salmonllc.jsp.JspTableCell, com.salmonllc.jsp.JspSearchForm, com.salmonllc.jsp.JspDisplayBox,
JspContainer | public class JspContainer extends HtmlComponent (Code) | | This class is the ancestor for all JSP Container objects. It differs from HtmlContainer in that it only contains components for the purpose of processing the parameters returned from a browser. The component's generateHtml method is not called from this container, but is instead governed by the components placement in the JSP page.
|
TYPE_COMP | final public static int TYPE_COMP(Code) | | |
TYPE_FOOTER | final public static int TYPE_FOOTER(Code) | | |
TYPE_GROUP_FOOTER | final public static int TYPE_GROUP_FOOTER(Code) | | |
TYPE_GROUP_HEADER | final public static int TYPE_GROUP_HEADER(Code) | | |
TYPE_HEADER | final public static int TYPE_HEADER(Code) | | |
TYPE_ROW | final public static int TYPE_ROW(Code) | | |
_center | protected boolean _center(Code) | | |
_enabled | protected boolean _enabled(Code) | | |
add | public void add(HtmlComponent comp, int type)(Code) | | Adds a component to the container. This method should not be called directly. It is only made public because it must be called from objects in the com.salmonllc.jsp.tags package.
|
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) | | |
getComponent | public HtmlComponent getComponent(int i)(Code) | | Gets a component from the container from the specified index.
|
getComponentCount | public int getComponentCount()(Code) | | Gets the number of components in the container.
|
getComponentIndex | public int getComponentIndex(HtmlComponent comp)(Code) | | Returns the index of the component in the container
|
getComponentType | public int getComponentType(int i)(Code) | | Gets the type of component at the specified index
valid return values are TYPE_COMP, TYPE_ROW, TYPE_HEADER, TYPE_FOOTER, TYPE_GROUP_FOOTER, TYPE_GROUP_HEADER
|
getComponentType | public int getComponentType(HtmlComponent comp)(Code) | | Gets the type of component assuming the component is in the container, otherwise it returns -1
valid return values are TYPE_COMP, TYPE_ROW, TYPE_HEADER, TYPE_FOOTER, TYPE_GROUP_FOOTER, TYPE_GROUP_HEADER
|
getComponents | public Enumeration getComponents()(Code) | | This method will return a list of all components in the container.
|
getController | public JspController getController()(Code) | | Returns the controller this container is in
|
getDoInit | public boolean getDoInit()(Code) | | Framework method, do not call directly
|
getSubmitComponent | public HtmlComponent getSubmitComponent()(Code) | | Returns the component that submitted the page if that component is in the container or null otherwise.
- HtmlComponent |
initialize | public void initialize()(Code) | | override in sub classes to allow for controller logic to be attached to the container
|
isComponentInContainer | public boolean isComponentInContainer(HtmlComponent comp)(Code) | | Returns true if the component is in this container
|
processParms | public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code) | | This method will process the parms from a post for every component in the container.
|
replaceComponent | 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 |
setDoInit | public void setDoInit(boolean b)(Code) | | Framework method, do not call directly
|
setEnabled | public void setEnabled(boolean enabled)(Code) | | Sets all the components in the container to enabled or not depending on the argument passed.
|
setVisible | public void setVisible(boolean visible)(Code) | | Sets all the components in the container to visible or not depending on the argument passed.
|
toString | public String toString()(Code) | | Creates a String representation of the contents of the JspContainer
- contents of container as a string representation |
|
|