|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompositeComponentInterface
Interface used by all composite components that are made up of multiple components.
Method Summary | |
---|---|
TransformationInterface |
getComponent(java.lang.String componentKey)
Returns a reference to a component, based on the component key. |
java.util.Map |
getComponents()
Returns a map with all the components in the composite in it. |
StyleInfo |
getStyleInfo(java.lang.String componentKey,
java.lang.String styleAreaKey)
Returns the StyleInfo object for a component/style area. |
java.util.Map |
getVisibleComponents()
Returns a Map containing all the components in the composite where isVisible() returns true. |
TransformationInterface |
removeComponent(java.lang.String componentKey)
Removes a component from the list of components contained in the composite component. |
TransformationInterface |
setComponent(java.lang.String componentKey,
TransformationInterface tbean)
Adds a component to the list of components contained in the composite component. |
void |
setStyleInfo(java.lang.String componentKey,
java.lang.String styleAreaKey,
StyleInfo styleInfo)
Assigns a StyleInfo object to the appropriate style area. |
Methods inherited from interface com.sas.servlet.tbeans.TemplateInterface |
---|
getDefaultTemplate, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation |
Method Detail |
---|
TransformationInterface setComponent(java.lang.String componentKey, TransformationInterface tbean)
tbean
- Transformation Bean.componentKey
- unique component keys.
TransformationInterface removeComponent(java.lang.String componentKey)
componentKey
- unique component key.
StyleInfo getStyleInfo(java.lang.String componentKey, java.lang.String styleAreaKey) throws java.lang.NullPointerException
componentKey
- key to access the appropriate componentstyleAreKey
- key to identify the style area. styleArea keys are defined for each component.
java.lang.NullPointerException
- Thrown if some type of null pointer error occursvoid setStyleInfo(java.lang.String componentKey, java.lang.String styleAreaKey, StyleInfo styleInfo) throws java.lang.NullPointerException
componentKey
- key to access the appropriate component,styleAreaKey
- key to identify the style areastyleInfo
- the StyleInfo object
java.lang.NullPointerException
- Thrown if some type of null pointer error occursjava.util.Map getComponents()
TransformationInterface getComponent(java.lang.String componentKey)
componentKey
- key to access the appropriate component
java.util.Map getVisibleComponents()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |