|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.propertyeditor.html.EntityAttributeValueSelectorPanel
public class EntityAttributeValueSelectorPanel
The EntityAttributeValueSelectorPanel provides the construction and operation code for the "Entity Attribute Value" Selector. EntityAttributeValueSelectorPanel is a component used to edit property values. The EntityAttributeValueSelectorPanel displays the name of the property to be edited as well as its current value.
Field Summary | |
---|---|
protected Label |
attributeGroupLabel
|
protected ListBoxView |
attributeListBox
|
protected java.util.List |
availableValues
|
protected java.lang.String |
currentProperty
|
static java.lang.String |
DEFAULT_ENTITY_ATTRIBUTE_VALUE_SELECTOR_NAME
|
static java.lang.String |
DEFAULT_REMOTE_SCRIPT_URL
|
static java.lang.String |
DEFAULT_TEMPLATE_FILE_NAME
|
protected PropertyEditorContainer |
editorContainer
|
protected java.util.Map |
editorIdMap
|
protected Label |
instructionText
|
protected boolean |
propertyValueChanged
|
static java.lang.String |
RB_KEY
|
protected Form |
remoteScriptForm
|
protected java.lang.String |
remoteScriptURL
|
protected java.lang.String |
selectedProperty
|
protected java.util.List |
selectedValues
|
protected EntityAttributeValueModelInterface |
selectorModel
|
protected java.lang.String |
serverError
|
protected java.util.Map |
supplementalProperties
|
protected java.util.Map |
valueMap
|
Fields inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
imageLocation, SELECTOR_EXPAND, SELECTOR_EXTERNAL |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.propertyeditor.html.EntityAttributeValueSelectorKeysInterface |
---|
EAVS_ATTRIBUTE_GROUP_LABEL, EAVS_ATTRIBUTE_LIST, EAVS_EDITOR_PANEL, EAVS_INSTRUCTION_TEXT |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.propertyeditor.html.EntityAttributeValueSelectorStyleKeysInterface |
---|
ENTITYATTRIBUTEVALUESELECTOR_INSTRUCTION_TEXT, ENTITYATTRIBUTEVALUESELECTOR_LABEL, ENTITYATTRIBUTEVALUESELECTOR_PROPERTY_LIST, ENTITYATTRIBUTEVALUESELECTOR_PROPERTY_LIST_XP |
Constructor Summary | |
---|---|
EntityAttributeValueSelectorPanel()
Constructs a new Entity Attribute Value selector panel. |
|
EntityAttributeValueSelectorPanel(java.lang.String name)
Constructs a new Entity Attribute Value selector panel with the given name. |
Method Summary | |
---|---|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent event)
Reacts to ContentsChangedEvents. |
protected javax.swing.ListModel |
getAttributeList()
|
protected java.lang.String |
getConstructionJavaScript()
|
java.lang.String |
getRemoteScriptURL()
Returns the URL used for processing the remote script form |
protected java.lang.StringBuffer |
getRemoteValues(java.lang.StringBuffer sb,
java.lang.String property,
java.util.List availableValues,
java.util.List selectedValues,
java.util.Map supplementalProperties)
|
void |
setRemoteScriptURL(java.lang.String value)
Sets the URL used for processing the remote script form |
protected void |
setRequiredJavaScriptEvents()
Sets the required JavaScript events for the selector controls. |
protected void |
setRequiredProperties()
Sets the name and ID properties on select components. |
void |
setSelectorModel(java.lang.Object model)
Sets the selector's data model |
void |
write(java.io.PrintWriter out)
Writes the custom attributes of the object. |
void |
writeRemoteScriptCommands(java.io.PrintWriter out)
Writes out the remote script commands for updating the selector |
protected void |
writeSelectorForm(java.io.PrintWriter out,
Form form)
|
Methods inherited from class com.sas.servlet.tbeans.dataselectors.html.SelectorPanel |
---|
close, getAdditionalParameters, getDefaultFormObject, getFormObject, getIframeName, isFormEnabled, setAdditionalParameter, setAdditionalParameters, setFormEnabled, setFormObject, setIframeName, writeRemoteScriptFrame, writeSelectorPanelFooter, writeSelectorPanelHeader |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
getActionProvider, getCommandId, getImageLocation, getSelector, getSelectorModel, setActionProvider, setCommandId, setImageLocation, setSelector |
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_ENTITY_ATTRIBUTE_VALUE_SELECTOR_NAME
public static final java.lang.String DEFAULT_TEMPLATE_FILE_NAME
public static final java.lang.String DEFAULT_REMOTE_SCRIPT_URL
protected Label instructionText
protected Label attributeGroupLabel
protected ListBoxView attributeListBox
protected PropertyEditorContainer editorContainer
protected java.util.Map editorIdMap
protected java.util.Map valueMap
protected Form remoteScriptForm
protected java.lang.String remoteScriptURL
protected java.lang.String serverError
protected java.lang.String selectedProperty
protected java.lang.String currentProperty
protected java.util.List availableValues
protected java.util.List selectedValues
protected java.util.Map supplementalProperties
protected boolean propertyValueChanged
protected EntityAttributeValueModelInterface selectorModel
Constructor Detail |
---|
public EntityAttributeValueSelectorPanel()
public EntityAttributeValueSelectorPanel(java.lang.String name)
name
- the new name of the panelMethod Detail |
---|
public java.lang.String getRemoteScriptURL()
public void setRemoteScriptURL(java.lang.String value)
value
- the new url for the remote script form actionprotected void setRequiredProperties()
protected void setRequiredJavaScriptEvents()
public void write(java.io.PrintWriter out) throws java.io.IOException
BaseCompositeTransformation
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseCompositeTransformation
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occursprotected java.lang.String getConstructionJavaScript()
protected void writeSelectorForm(java.io.PrintWriter out, Form form) throws java.io.IOException
java.io.IOException
public void contentsChanged(com.sas.collection.ContentsChangedEvent event)
contentsChanged
in interface com.sas.collection.ContentsChangedListener
contentsChanged
in class BaseSelectorPanel
event
- the eventpublic void writeRemoteScriptCommands(java.io.PrintWriter out) throws java.io.IOException
writeRemoteScriptCommands
in class SelectorPanel
out
- The PrintWriter
java.io.IOException
protected java.lang.StringBuffer getRemoteValues(java.lang.StringBuffer sb, java.lang.String property, java.util.List availableValues, java.util.List selectedValues, java.util.Map supplementalProperties)
public void setSelectorModel(java.lang.Object model)
BaseSelectorPanel
setSelectorModel
in class BaseSelectorPanel
model
- The selector's data modelprotected javax.swing.ListModel getAttributeList()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |