| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlContainer com.salmonllc.html.HtmlComposite
All known Subclasses: com.salmonllc.html.HtmlLookUpComponent,
HtmlComposite | public class HtmlComposite extends HtmlContainer (Code) | | This class is used as a typed container object. Primarily used with the HtmlLookup Object
and the list forms. Making the lookup component extend HtmlComposite allows the listform to interigate
the object for information to be able search on the value automatically.
|
Method Summary | |
public void | add(HtmlComponent comp) add
DO NOT USE: HtmlComposite.add. | public Object | addCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column) This method adds a component and the associated information to a set of Vectors
it return and Object so you can keep a handle to the component for later use. | public Object | addCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column, int flags) This method adds a component and the associated information to a set of Vectors
it return and Object so you can keep a handle to the component for later use. | public HtmlComponent | getComponent(int index) | public String | getComponentColumn(HtmlComponent comp) This method returns the column associated to this component. | public int | getComponentDataType(HtmlComponent comp) This method returns the data type associated to this component. | public int | getComponentFlags(HtmlComponent comp) This method returns the flags associated to this component. | public String | getComponentTable(HtmlComponent comp) This method returns the table associated to this component. | public Enumeration | getComponents() | public int | getCompositeSize() | public boolean | getIsComponentBound(HtmlComponent comp) | public Object | insertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column) This method inserts a component and the associated information in to a set of Vectors at a specified location. | public Object | insertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column, int flags) This method inserts a component and the associated information in to a set of Vectors at a specified location. | public Object | replaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column) This method replaces a component and the associated information with a new passed in object. | public Object | replaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column, int flags) This method replaces a component and the associated information with a new passed in object. | public void | setComponentColumn(HtmlComponent comp, String column) | public void | setComponentDataType(HtmlComponent comp, int dataType) | public void | setComponentFlags(HtmlComponent comp, int flags) This method sets the flags the component is using if any. | public void | setComponentTable(HtmlComponent comp, String table) | public void | setIsComponentBound(HtmlComponent comp, boolean bound) |
DATATYPE_ANY | final static int DATATYPE_ANY(Code) | | |
HtmlComposite | public HtmlComposite(String name, HtmlPage p)(Code) | | HtmlComposite constructor.
Parameters: name - String - name of composite component Parameters: p - HtmlPage - page the component is associated with |
add | public void add(HtmlComponent comp)(Code) | | add
DO NOT USE: HtmlComposite.add. Use addCompositeComponent instead
Parameters: comp - HtmlComponent |
addCompositeComponent | public Object addCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column)(Code) | | This method adds a component and the associated information to a set of Vectors
it return and Object so you can keep a handle to the component for later use.
Object - reference to added component Parameters: comp - HtmlComponent - component to add Parameters: dataType - int - data type of component added Parameters: bound - boolean - is the component bound to a datastore Parameters: table - String - table the component is bound to Parameters: column - String - column the component is bound to |
addCompositeComponent | public Object addCompositeComponent(HtmlComponent comp, int dataType, boolean bound, String table, String column, int flags)(Code) | | This method adds a component and the associated information to a set of Vectors
it return and Object so you can keep a handle to the component for later use.
Object - reference to added component Parameters: comp - HtmlComponent - component to add Parameters: dataType - int - data type of component added Parameters: bound - boolean - is the component bound to a datastore Parameters: table - String - table the component is bound to Parameters: column - String - column the component is bound to Parameters: flags - int - flags to associate to this componet |
getComponent | public HtmlComponent getComponent(int index)(Code) | | This method returns a component by index
HtmlComponent Parameters: index - int |
getComponentColumn | public String getComponentColumn(HtmlComponent comp)(Code) | | This method returns the column associated to this component.
String - column name Parameters: comp - - HtmlComponent being searched for being searched for |
getComponentDataType | public int getComponentDataType(HtmlComponent comp)(Code) | | This method returns the data type associated to this component.
int - index value Parameters: comp - - HtmlComponent being searched for |
getComponentFlags | public int getComponentFlags(HtmlComponent comp)(Code) | | This method returns the flags associated to this component.
int - flag values Parameters: comp - - HtmlComponent being searched for |
getComponentTable | public String getComponentTable(HtmlComponent comp)(Code) | | This method returns the table associated to this component.
String - table name Parameters: comp - - HtmlComponent being searched for |
getComponents | public Enumeration getComponents()(Code) | | Returns an enumeration of componets
- Enumeration |
getCompositeSize | public int getCompositeSize()(Code) | | This method returns the number of items in the composite component
int |
getIsComponentBound | public boolean getIsComponentBound(HtmlComponent comp)(Code) | | This method returns the whether the component is bound to a DataStore
boolean Parameters: comp - - HtmlComponent being searched for |
insertCompositeComponentAt | public Object insertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column)(Code) | | This method inserts a component and the associated information in to a set of Vectors at a specified location.
It return and Object so you can keep a handle to the component for later use.
Object - reference to added component Parameters: comp - HtmlComponent - component to insert Parameters: dataType - int - data type of component inserted Parameters: bound - boolean - is the component bound to a datastore Parameters: table - String - table the component is bound to Parameters: column - String - column the component is bound to |
insertCompositeComponentAt | public Object insertCompositeComponentAt(HtmlComponent comp, int index, int dataType, boolean bound, String table, String column, int flags)(Code) | | This method inserts a component and the associated information in to a set of Vectors at a specified location.
It return and Object so you can keep a handle to the component for later use.
Object - reference to added component Parameters: comp - HtmlComponent - component to insert Parameters: dataType - int - data type of component added Parameters: bound - boolean - is the component bound to a datastore Parameters: table - String - table the component is bound to Parameters: column - String - column the component is bound to Parameters: flags - int - flags to associate to this componet |
replaceCompositeComponent | public Object replaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column)(Code) | | This method replaces a component and the associated information with a new passed in object.
It return and Object so you can keep a handle to the component for later use.
Object - reference to added component Parameters: comp - HtmlComponent - component to replace Parameters: dataType - int - data type of component added Parameters: bound - boolean - is the component bound to a datastore Parameters: table - String - table the component is bound to Parameters: column - String - column the component is bound to |
replaceCompositeComponent | public Object replaceCompositeComponent(HtmlComponent comp, Object compToReplace, int dataType, boolean bound, String table, String column, int flags)(Code) | | This method replaces a component and the associated information with a new passed in object.
It return and Object so you can keep a handle to the component for later use.
Object - reference to added component Parameters: comp - HtmlComponent - component to replace Parameters: compToReplace - Object - reference of object to replace Parameters: dataType - int - data type of component added Parameters: bound - boolean - is the component bound to a datastore Parameters: table - String - table the component is bound to Parameters: column - String - column the component is bound to |
setComponentColumn | public void setComponentColumn(HtmlComponent comp, String column)(Code) | | This method sets the column the component is bound to in a DataStore
Parameters: comp - - HtmlComponent being searched for Parameters: column - String - column name |
setComponentDataType | public void setComponentDataType(HtmlComponent comp, int dataType)(Code) | | This method sets the data type of the column the component is bound to in a DataStore
Parameters: comp - - HtmlComponent being searched for Parameters: dataType - int Please use the data types from DataStore.if you don't know what datatype use HtmlComposite.DATATYPE_ANY |
setComponentFlags | public void setComponentFlags(HtmlComponent comp, int flags)(Code) | | This method sets the flags the component is using if any.
Parameters: comp - - HtmlComponent to associate flags to Parameters: flags - - flag values |
setComponentTable | public void setComponentTable(HtmlComponent comp, String table)(Code) | | This method sets the table the component is bound to in a DataStore
Parameters: comp - - HtmlComponent being searched for Parameters: table - String |
setIsComponentBound | public void setIsComponentBound(HtmlComponent comp, boolean bound)(Code) | | This method sets whether the component is bound to a table.column
Parameters: comp - - HtmlComponent being searched for Parameters: bound - boolean |
|
|