|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.acuity.ui.PresentationObject
com.ge.research.acuity.ui.IndependentDisplayPO
com.ge.research.acuity.ui.InteractionObject
A presentation object that allows for interaction with a user in a client application. Interaction objects present a prompt explaining the purpose of the interaction mechanism, whether it be to select from a choice of alternatives, to enter free text information, or to trigger an action to occur.
| Field Summary | |
static java.lang.String |
CLIENT_EFFECT_LANGUAGE
The client side effect Map keyword identifying the language of a clide side effect |
static java.lang.String |
CLIENT_EFFECT_LOCATION
The client side effect Map keyword identifying the source of a clide side effect |
static java.lang.String |
CLIENT_EFFECT_TYPE
The client side effect Map keyword identifying the type of a clide side effect |
| Constructor Summary | |
InteractionObject()
Calls the default constructor with null argument |
|
InteractionObject(java.lang.String prompt)
The default constructor. |
|
| Method Summary | |
boolean |
alwaysRefresh()
Returns the value of the always refresh flag for this interaction object. |
java.util.Map |
getClientEffects()
Returns any information about client side scripts associated with this interaction object. |
int |
getOrientation()
Returns the layout orientation of the interaction object. |
java.lang.String |
getPrompt()
Returns the explanatory prompt of the purpose for the interaction object |
java.lang.String |
getValueName()
Returns the value name anchor identifier for this interaction object |
boolean |
hasOwnSubmit()
Returns the value of the hasOwnSubmit flag. |
boolean |
isDisabled()
Returns the value of the disabled flag for this interaction object. |
void |
setAlwaysRefresh(boolean b)
Sets the value of the always refresh flag for this interaction object. |
void |
setClientEffects(java.util.Map effects)
Sets any information about client side scripts associated with this interaction object. |
void |
setHasOwnSubmit(boolean b)
Sets the value of the hasOwnSubmit flag. |
void |
setHasPresentationNature(java.lang.String string)
Overrides setHasPresentationNature in PresentationObject. |
void |
setIsDisabled(boolean b)
Sets the value of the disabled flag for this interaction object. |
void |
setOrientation(int i)
Sets the layout orientation of the interaction object. |
void |
setPrompt(java.lang.String string)
Sets the explanatory prompt displayed to the user with the interaction component, offering insight and meaning to the purpose for the interaction object |
void |
setSubmitsOnChange(boolean b)
Sets the value of the flag indicating whether or not this interacttion object communicates its value immediately upon a value change. |
void |
setValueName(java.lang.String string)
Sets the value name anchor identifier for this interaction object |
boolean |
submitsOnChange()
Returns the value of the flag indicating whether or not this interaction object communicates its value immediately upon a value change. |
| Methods inherited from class com.ge.research.acuity.ui.IndependentDisplayPO |
canBeRemoved, displayBanner, getHeight, getIdentifierTitle, getWidth, getXPos, getYPos, getZOrder, setCanBeRemoved, setDisplayBanner, setHeight, setIdentifier, setIdentifierTitle, setPos, setPos, setPos, setPos, setWidth, setXPos, setYPos, setZOrder |
| Methods inherited from class com.ge.research.acuity.ui.PresentationObject |
addLookupInfo, getHasPresentationNature, getIdentifier, getLookupInfo, getSubject, hasSubject, isDisplayed, isEditable, setEditability, setIsDisplayed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CLIENT_EFFECT_LOCATION
Map keyword identifying the source of a clide side effect
public static final java.lang.String CLIENT_EFFECT_TYPE
Map keyword identifying the type of a clide side effect
public static final java.lang.String CLIENT_EFFECT_LANGUAGE
Map keyword identifying the language of a clide side effect
| Constructor Detail |
public InteractionObject()
null argument
public InteractionObject(java.lang.String prompt)
PresentationNatureConstants.HIDDEN
prompt - the prompt explaining the purpose of this interaction object and contentPresentationObject.PresentationObject(),
setPrompt(java.lang.String),
PresentationObject.setHasPresentationNature(java.lang.String)| Method Detail |
public final boolean alwaysRefresh()
true if this interaction object's content should be refreshed on every client update;
false if this interaction object's content should only be refreshed when the system deems necessary.public final int getOrientation()
PresentationParameterConstants.IAO_ORIENTATION_HORIZONTAL
or PresentationParameterConstants.IAO_ORIENTATION_VERTICAL
public final java.lang.String getPrompt()
public final java.lang.String getValueName()
public final boolean hasOwnSubmit()
true if this interaction object, when rendered, should have its own update trigger mechanism (submit button);
false if this interaction object, when rendered, should not have its own update trigger mechanism (submit button).public final java.util.Map getClientEffects()
Map is of the format: keys are the ontology Individual URI of the script associated with the interaction object;
the values are a Map of script parameters and their values.
Map structure of associated client side scripts and their parameters,
or null if there are no associated effects.public final boolean isDisabled()
true if this presentation object cannot be interacted within a client application by a user;
false if this presentation object can be interacted within a client application by a user.public final void setAlwaysRefresh(boolean b)
b - true if this interaction object's content should be refreshed on every client update;
false if this interaction object's content should only be refreshed when the system deems necessary.public final void setHasOwnSubmit(boolean b)
b - true if this interaction object, when rendered, should have its own update trigger mechanism (submit button);
false if this interaction object, when rendered, should not have its own update trigger mechanism (submit button).public final void setClientEffects(java.util.Map effects)
Map is of the format: keys are the ontology Individual URI of the script associated with the interaction object;
the values are a Map of script parameters and their values.
effects - a Map structure of associated client side scripts and their parameters,
or null if there are no associated effects.public void setHasPresentationNature(java.lang.String string)
setHasPresentationNature in class PresentationObjectstring - the new value of presentation naturePresentationNatureConstants.isInteractionType(java.lang.String)public final void setIsDisabled(boolean b)
b - true if this presentation object cannot be interacted with in a client application by a user;
false if this presentation object can be interacted with in a client application by a user.public final void setOrientation(int i)
i is not one of either PresentationParameterConstants.IAO_ORIENTATION_HORIZONTAL
or PresentationParameterConstants.IAO_ORIENTATION_VERTICAL
i - the new layout orientation for the interaction objectPresentationParameterConstants.IAO_ORIENTATION_HORIZONTAL,
PresentationParameterConstants.IAO_ORIENTATION_VERTICALpublic final void setPrompt(java.lang.String string)
string - the interaction object promptpublic final void setSubmitsOnChange(boolean b)
b - true if the object should communicate the value immediately upon change;
false if the object should use another trigger to communicate the value.public final void setValueName(java.lang.String string)
string - the value name anchor identifier for this interaction objectpublic final boolean submitsOnChange()
true if the object communicates the value immediately upon change;
false if the object uses another trigger to communicate the value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||