|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.ActionAttributeDescriptor
public class ActionAttributeDescriptor
An implementation of the AttributeDescriptorInterface for the Action Provider Framework.
For general information on the ActionProvider Framework, including an overview of how
the primary classes of the framework work together, refer to the
package documentation.
com.sas.actionprovider
For examples demonstrating how to use the ActionProvider Framework, including how to override default Actions or add new custom Actions, refer to the Samples Site.
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
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 .
AttributeDescriptorInterface
Field Summary | |
---|---|
protected java.util.Map |
supplementalProperties
|
Fields inherited from interface com.sas.entities.AttributeDescriptorInterface |
---|
DEFAULTVALUESET, EXPERT, MODIFIABLE, PROPERTY, REQUIRED, VISIBLE |
Fields inherited from interface com.sas.actionprovider.SupplementalPropertyKeysInterface |
---|
COMMAND, CUSTOM, DYNAMIC, ENCODE, EXTERNAL |
Constructor Summary | |
---|---|
ActionAttributeDescriptor()
Default constructor |
|
ActionAttributeDescriptor(java.lang.String name)
Constructs an instance of AttributeDescriptor with the given name. |
Method Summary | |
---|---|
boolean |
getCommand()
Returns the boolean indicating whether the attribute should be applied to the command object during the execution phase. |
boolean |
getCustom()
Returns the boolean indicating whether the ActionProvider Framework should determine the dynamic value of the Action attribute in a manner specific to the support class. |
java.lang.String |
getDescription(java.util.Locale locale)
Return the description of this object; this is the description which the user will see in a UI (User Interface) component. |
java.util.Map |
getDescriptions()
Returns a mapping of all of the descriptions defined for this object. |
boolean |
getDynamic()
Returns the boolean indicating whether the ActionProvider Framework should attempt to set the attribute during the action acquisition phase. |
boolean |
getEncode()
Returns the boolean indicating whether the ActionProvider Framework should attempt encode the value when passing as a request parameter. |
boolean |
getExternal()
Returns the boolean indicating whether the ActionProvider Framework should prepend the attribute's value with the ActionProvider's parameterPrefix when passing as a request parameter. |
java.lang.String |
getLabel(java.util.Locale locale)
Return the label of this object; this is the name which will the user will see in a UI (User Interface) component. |
java.lang.String |
getName()
Return the name of this object. |
boolean |
isDefaultValueHasBeenSet()
Return true if a default value has been set (through a AttributeDescriptorInterface.setDefault(Object defaultValue) call). |
boolean |
isVisible()
Returns true if the AttributeDescriptor is visible. |
void |
setCommand(boolean command)
Sets the boolean indicating whether the attribute should be applied to the command object during the execution phase. |
void |
setCustom(boolean custom)
Sets the boolean indicating whether the ActionProvider Framework should determine the dynamic value of the Action attribute in a manner specific to the support class. |
void |
setDynamic(boolean dynamic)
Sets the boolean indicating whether the ActionProvider Framework should attempt to set the attribute during the action acquisition phase. |
void |
setEncode(boolean encode)
Sets the boolean indicating whether the ActionProvider Framework should attempt encode the value when passing as a request parameter. |
void |
setExpert(boolean expert)
Sets the expert state. |
void |
setExternal(boolean external)
Sets the boolean indicating whether the ActionProvider Framework should prepend the attribute's value with the ActionProvider's parameterPrefix when passing as a request parameter. |
void |
setLabel(java.util.Locale locale,
java.lang.String label)
Set the label of this object; this is the name which will the user will see in a UI (User Interface) component. |
void |
setModifiable(boolean modifiable)
Sets whether the AttributeDescriptor is modifiable. |
void |
setName(java.lang.String name)
Set the name of this object. |
void |
setVisible(boolean visible)
Sets whether the AttributeDescriptor should be visible. |
Field Detail |
---|
protected java.util.Map supplementalProperties
Constructor Detail |
---|
public ActionAttributeDescriptor()
public ActionAttributeDescriptor(java.lang.String name)
name
- name associated with the AttributeDescriptorMethod Detail |
---|
public boolean getDynamic()
public void setDynamic(boolean dynamic)
dynamic
- the value of the dynamic attribute.public boolean getCommand()
public void setCommand(boolean command)
command
- the value of the command attribute.public boolean getCustom()
public void setCustom(boolean custom)
custom
- the value of the custom attribute.public boolean getEncode()
public void setEncode(boolean encode)
encode
- the value of the encode attribute.public boolean getExternal()
public void setExternal(boolean external)
external
- the value of the external attribute.public java.lang.String getName()
BaseAttributeDescriptorInterface
getName
in interface BaseAttributeDescriptorInterface
BaseAttributeDescriptorInterface.setName(String name)
public void setName(java.lang.String name)
BaseAttributeDescriptorInterface
setName
in interface BaseAttributeDescriptorInterface
name
- object nameBaseAttributeDescriptorInterface.getName()
public java.lang.String getLabel(java.util.Locale locale)
BaseAttributeDescriptorInterface
name
is returned.
getLabel
in interface BaseAttributeDescriptorInterface
locale
- the locale with which the label is associated.
This parameter may be null.
BaseAttributeDescriptorInterface.setLabel(Locale locale, String label)
public void setLabel(java.util.Locale locale, java.lang.String label)
BaseAttributeDescriptorInterface
setLabel
in interface BaseAttributeDescriptorInterface
locale
- the locale with which the label is associated.
This parameter may be null.label
- the visible nameBaseAttributeDescriptorInterface.getLabel(Locale locale)
public java.lang.String getDescription(java.util.Locale locale)
BaseAttributeDescriptorInterface
name
is returned.
getDescription
in interface BaseAttributeDescriptorInterface
locale
- the locale with which this description is associated.
This may be null.
BaseAttributeDescriptorInterface.setDescription(Locale locale, String description)
public java.util.Map getDescriptions()
BaseAttributeDescriptorInterface
getDescriptions
in interface BaseAttributeDescriptorInterface
public boolean isVisible()
AttributeDescriptorInterface
isVisible
in interface AttributeDescriptorInterface
AttributeDescriptorInterface.setVisible(boolean visible)
public void setVisible(boolean visible)
AttributeDescriptorInterface
setVisible
in interface AttributeDescriptorInterface
visible
- a boolean
value.
If false, the AttributeDescriptor
should not be displayed in UI (User Interface) components.AttributeDescriptorInterface.isVisible()
public void setModifiable(boolean modifiable)
AttributeDescriptorInterface
setModifiable
in interface AttributeDescriptorInterface
modifiable
- a boolean
value.
If false, UI (User Interface) components can display the AttributeDescriptor
but should not allow it to be modified.AttributeDescriptorInterface.isModifiable()
public void setExpert(boolean expert)
AttributeDescriptorInterface
setExpert
in interface AttributeDescriptorInterface
expert
- a boolean
value.
If true, under normal circumstances, UI (User Interface) components will not display
the AttributeDescriptor.AttributeDescriptorInterface.isExpert()
public boolean isDefaultValueHasBeenSet()
AttributeDescriptorInterface
AttributeDescriptorInterface.setDefault(Object defaultValue)
call).
isDefaultValueHasBeenSet
in interface AttributeDescriptorInterface
AttributeDescriptorInterface.setDefaultValueHasBeenSet(boolean defaultValueHasBeenSet)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |