|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.Area
public class Area
The Area object is used by the ActionProvider Framework( APF ) as a mechanism for describing a particular area of a Viewer component in a more specific way than the general areaType that is defined by a support class.
For example, the HttpTableViewSupport.COLUMN_HEADER_AREA
is a general
areaType defined by HttpTableViewSupport to identify all the column headers of a TableView. To
specify that an operation should only affect certain colum(s) within the COLUMN_HEADER_AREA,
the Area Object allows for the setting of specific values.
Area area = new Area( HttpTableViewSupport.COLUMN_HEADER_AREA, "someColumnName" );
The types of values that are required is defined by the APF support class.
A basic understanding of the ActionProvider Framework, of which this class is a part, is recommended before attempting to use this class.
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 .
HttpTableViewSupport
,
BaseActionProviderSupport.setAction(com.sas.actionprovider.BaseAction, java.util.Collection, com.sas.actionprovider.Area)
Field Summary | |
---|---|
protected java.lang.String |
type
The general type of area corresponding to an areaType defined by a support class. |
protected java.util.List |
values
The collection of specific area values that this Area describes. |
Constructor Summary | |
---|---|
Area()
Default constructor |
|
Area(java.lang.String type)
AreaType constructor |
|
Area(java.lang.String type,
java.lang.Object value)
AreaType, Value constructor. |
Method Summary | |
---|---|
void |
addValue(java.lang.Object value)
Add a specific area value. |
java.lang.String |
getType()
Return the general type of area corresponding to an areaType defined by a support class. |
java.util.List |
getValues()
Returns the collection of specific area values. |
void |
removeValue(java.lang.Object value)
Removes a specific area value from this Area definition. |
void |
setType(java.lang.String type)
Set the type of area corresponding to an areaType defined by a support class. |
Field Detail |
---|
protected java.lang.String type
protected java.util.List values
Constructor Detail |
---|
public Area()
public Area(java.lang.String type)
AreaType constructor
type
- The general type of area corresponding to an areaType defined
by a support class.public Area(java.lang.String type, java.lang.Object value)
AreaType, Value constructor.
type
- The general type of area corresponding to an areaType defined
by a support class.value
- A specific area valueMethod Detail |
---|
public void setType(java.lang.String type)
Set the type of area corresponding to an areaType defined by a support class.
type
- The general type of area corresponding to an areaType defined
by a support class.getType()
public java.lang.String getType()
Return the general type of area corresponding to an areaType defined by a support class.
setType(java.lang.String)
public void addValue(java.lang.Object value)
Add a specific area value.
value
- the specific area value.
java.lang.IllegalArgumentException
- if value is nullremoveValue(java.lang.Object)
public void removeValue(java.lang.Object value)
Removes a specific area value from this Area definition.
value
- the specific area value to be removed.
java.lang.IllegalArgumentException
- if value is nulladdValue(java.lang.Object)
public java.util.List getValues()
Returns the collection of specific area values.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |