|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.memberproperties.html.MemberPropertiesSelectorPanel
public class MemberPropertiesSelectorPanel
The MemberPropertiesSelectorPanel is a TransformationBean that generates the appropriate HTML 4.0 and JavaScript to provide a user interface for specifying xxx on data items.
The MemberPropertiesSelectorPanel is one of several TransformationBeans that rely on a set of style classes that are used by default when generating the resulting markup language. For more information on style sheets and the default style classes that apply to this TransformationBean, refer to the AppDev Studio Developer Site. You'll find a useful reference document entitled Cascading Style Sheets, Images, and TransformationBeans as well as the TransformationBeans Style Sheet Reference.
The MemberPropertiesSelectorPanel is one of several TransformationBeans that rely on JavaScript to provide some of its functionality. These JavaScript files are including automatically by the tbean. See JavaScriptIncludeHandler for more information about how these files are included and how to customize this behavior. The MemberPropertiesSelectorPanel uses the following JavaScript files:
Note that the toString() method on this class calls the write
method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
For More Information:
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_TEMPLATE_FILE_NAME
The default file name for the template for this panel. |
static java.lang.String |
DUAL_TREE_SELECTOR_TEMPLATE_FILE_NAME
The default file name for the template for this panel. |
protected static java.lang.String |
JAVASCRIPT_ADD_FUNCTION
The name of the JavaScript function which adds items to the summary box. |
protected static java.lang.String |
JAVASCRIPT_PANEL_CLASS
The root portion of any JavaScript function names for this selector panel. |
protected static java.lang.String |
JAVASCRIPT_POST_SOURCE_TRIGGER_FUNCTION
|
protected static java.lang.String |
JAVASCRIPT_POST_TARGET_TRIGGER_FUNCTION
|
protected static java.lang.String |
JAVASCRIPT_SELECT_NODE_FUNCTION
|
protected static java.lang.String |
JAVASCRIPT_SELECT_TARGET_NODE_FUNCTION
|
static java.lang.String |
RB_KEY
|
Fields inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
imageLocation, SELECTOR_EXPAND, SELECTOR_EXTERNAL |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.memberproperties.html.MemberPropertiesSelectorKeysInterface |
---|
MPS_CAPTIONS_CHECKBOX, MPS_DUAL_SELECTOR, MPS_LABELS_CHECKBOX, MPS_OPTIONS_LABEL |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.memberproperties.html.MemberPropertiesSelectorStyleKeysInterface |
---|
MPS_CAPTION_TD_STYLE, MPS_CAPTIONS_CHECKBOX_LABEL_STYLE, MPS_CAPTIONS_CHECKBOX_STYLE, MPS_DUALSELECTOR_CONTAINER, MPS_LABEL_TD_STYLE, MPS_LABELS_CHECKBOX_LABEL_STYLE, MPS_LABELS_CHECKBOX_STYLE, MPS_OPTIONS_LABEL_STYLE, MPS_SOURCE_TITLE_STYLE, MPS_TARGET_TITLE_STYLE |
Constructor Summary | |
---|---|
MemberPropertiesSelectorPanel()
Default constructor. |
|
MemberPropertiesSelectorPanel(java.lang.String name)
Constructor using the given name. |
Method Summary | |
---|---|
protected void |
addComponents()
Creates the components and add them to the selector template. |
void |
cancel()
Cancels the command. |
void |
cleanUpResources()
This method releases all of the necessary resources that were needed by the transformation bean to render itself. |
java.lang.String |
getDefaultTemplate()
Returns the default template to be used for this composite. |
protected CheckBox |
newCaptionsCheckBoxInstance()
|
protected DualTreeSelector |
newDualTreeSelectorInstance()
Returns a new default DualTreeSelector |
protected CheckBox |
newLabelsCheckBoxInstance()
|
protected Label |
newOptionsLabelInstance()
|
protected void |
populateDualTreeSelector()
Sets write-time properties for the summary listbox including its model |
protected void |
setComponentValues()
|
protected void |
setLocaleDependentProperties(java.util.Locale locale)
Sets the locale dependent properties. |
void |
setSelectorModel(java.lang.Object selectormodel)
Sets the selector's data model |
protected void |
setupTemplateDictionary()
|
void |
write(java.io.PrintWriter out)
Writes the custom attributes of the object. |
protected void |
writeActionProviderFields(java.io.PrintWriter out)
|
Methods inherited from class com.sas.servlet.tbeans.dataselectors.html.SelectorPanel |
---|
close, getAdditionalParameters, getDefaultFormObject, getFormObject, getIframeName, isFormEnabled, setAdditionalParameter, setAdditionalParameters, setFormEnabled, setFormObject, setIframeName, writeRemoteScriptCommands, writeRemoteScriptFrame, writeSelectorPanelFooter, writeSelectorPanelHeader |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
contentsChanged, getActionProvider, getCommandId, getImageLocation, getSelector, getSelectorModel, setActionProvider, setCommandId, setImageLocation, setSelector |
Methods inherited from class com.sas.servlet.tbeans.BaseCompositeTransformation |
---|
applyTemplate, applyTemplate, getComponent, getComponents, getStyleInfo, getStyleMap, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, getVisibleComponents, isFlushEnabled, propertyChange, removeComponent, setCleanUpResourcesOn, setComponent, setFlushEnabled, setId, setLocale, setRequest, setResponse, setStyleInfo, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation, writeTemplate |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Field Detail |
---|
public static final java.lang.String RB_KEY
public static final java.lang.String DEFAULT_TEMPLATE_FILE_NAME
public static final java.lang.String DUAL_TREE_SELECTOR_TEMPLATE_FILE_NAME
protected static final java.lang.String JAVASCRIPT_PANEL_CLASS
protected static final java.lang.String JAVASCRIPT_ADD_FUNCTION
protected static final java.lang.String JAVASCRIPT_SELECT_NODE_FUNCTION
protected static final java.lang.String JAVASCRIPT_SELECT_TARGET_NODE_FUNCTION
protected static final java.lang.String JAVASCRIPT_POST_SOURCE_TRIGGER_FUNCTION
protected static final java.lang.String JAVASCRIPT_POST_TARGET_TRIGGER_FUNCTION
Constructor Detail |
---|
public MemberPropertiesSelectorPanel()
public MemberPropertiesSelectorPanel(java.lang.String name)
name
- String to set the nameMethod Detail |
---|
protected void setLocaleDependentProperties(java.util.Locale locale)
BaseTransformation
setLocaleDependentProperties
in class BaseTransformation
public void setSelectorModel(java.lang.Object selectormodel)
setSelectorModel
in class BaseSelectorPanel
selectormodel
- The selector's data modelpublic void write(java.io.PrintWriter out)
BaseCompositeTransformation
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseCompositeTransformation
out
- The output streamprotected void writeActionProviderFields(java.io.PrintWriter out)
protected void setupTemplateDictionary()
protected void addComponents()
protected Label newOptionsLabelInstance()
protected CheckBox newLabelsCheckBoxInstance()
protected CheckBox newCaptionsCheckBoxInstance()
protected DualTreeSelector newDualTreeSelectorInstance()
protected void setComponentValues()
protected void populateDualTreeSelector()
java.io.IOException
- thrown if some type of I/O error occurspublic java.lang.String getDefaultTemplate()
getDefaultTemplate
in interface TemplateInterface
getDefaultTemplate
in class BaseCompositeTransformation
public void cleanUpResources()
BaseTransformation
request
and response
. This method
calls the setRequest and setResponse methods with a null value.
cleanUpResources
in class BaseTransformation
public void cancel()
CancelInterface
Common things done in this method:
cancel
in interface CancelInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |