|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebAppObject
Base class for primary WebApp objects (Page, Method, ActionList, Variable, LinkedModel).
Field Summary | |
---|---|
static int |
ALWAYS_VISIBLE
Used for visibility to set the visibility level |
static java.lang.String |
INFORMATION_PROPERTY
Name of property for informational display, e.g. how a builder uses this object |
static int |
NEVER_VISIBLE
|
static int |
SOMETIMES_VISIBLE
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone an instance of this object. |
BuilderCall |
getBuilderCall()
Which builder call generated this object - may be null |
java.lang.String |
getName()
Gets unique identifier name for this object. |
java.util.Iterator |
getProperties()
Gets an iterator to the keys of the properties. |
java.lang.Object |
getProperty(java.lang.String key)
Gets a property value given the key. |
int |
getVisibility()
Get "visibility" info. |
boolean |
isHidden()
Get "hidden" flag. |
void |
putProperty(java.lang.String key,
java.lang.Object value)
Sets the specified property value with the associated key. |
void |
setBuilderCall(BuilderCall call)
|
void |
setHidden(boolean set)
Set "hidden" flag. |
void |
setName(java.lang.String name)
Sets the identifier name for this object. |
void |
setVisibility(int set)
Set "visibility" level. |
Methods inherited from interface com.bowstreet.util.IExemplar |
---|
newInstance |
Field Detail |
---|
static final int ALWAYS_VISIBLE
static final java.lang.String INFORMATION_PROPERTY
static final int NEVER_VISIBLE
static final int SOMETIMES_VISIBLE
Method Detail |
---|
java.lang.Object clone()
BuilderCall getBuilderCall()
java.lang.String getName()
java.util.Iterator getProperties()
java.lang.Object getProperty(java.lang.String key)
key
- The key to get the value for.
int getVisibility()
boolean isHidden()
void putProperty(java.lang.String key, java.lang.Object value)
key
- The key to associate the value to.value
- The value for the specified key. If the value is null the specified key will be removed from the properties.void setBuilderCall(BuilderCall call)
call
- The BuilderCall that created this elementvoid setHidden(boolean set)
set
- True if hidden (in Designer).void setName(java.lang.String name)
name
- The identifier name for this object.void setVisibility(int set)
set
- a value between ALWAYS_VISIBLE and NEVER_VISIBLE (10 - 0) or SOMETIMES_VISIBLE to only sometime be seen in chooser dialog(in Designer).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |