|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ActionPainter Class is responsible to generate a HTML-Element to initiate an Action
Method Summary | |
void |
addEventHandler(ClientEvent event,
java.lang.String handler)
Adds an additional event handler to this painter |
void |
addParameter(boolean value)
Method addParameter |
void |
addParameter(java.lang.Boolean value)
Method addParameter |
void |
addParameter(int value)
Method addParameter |
void |
addParameter(java.lang.Integer value)
Method addParameter |
void |
addParameter(long value)
Method addParameter |
void |
addParameter(java.lang.Long value)
Method addParameter |
void |
addParameter(java.lang.Object obj)
Method addParameter |
void |
addParameter(java.lang.String value)
Method addParameter |
org.apache.ecs.ConcreteElement |
createElement()
Creates an HTML Element which makes it possible to choose the Action on the user interface. |
ControlAction |
getAction()
return the Action |
java.lang.String |
getAnchor()
|
ImageModel |
getImage()
Returns the Image |
AlignmentType |
getImageAlign()
Returns the alignment of an additional image |
java.lang.String |
getImageStyle()
|
AlignmentType |
getImageVAlign()
Returns the vertical alignment of an additional image |
java.lang.String |
getLabel()
Returns the Label |
java.lang.String |
getLinkName()
|
java.lang.String |
getStyle()
Returns the Style |
java.lang.String |
getStyleClass()
Returns the StyleClass |
java.lang.String |
getStyleId()
Returns the StyleId |
java.lang.String |
getTarget()
Returns the Target |
java.lang.String |
getTooltip()
Returns the Tooltip |
boolean |
isActive()
Returns the Active Flag |
boolean |
isFormAction()
Returns the form action Flag |
void |
setActive(boolean b)
Sets the Active Flag |
void |
setAnchor(java.lang.String anchor)
Sets the Anchor to appended to the URL (#anchor) |
void |
setBehavior(ActionBehavior behavior)
Sets some information about the actions behavior. |
void |
setClientHandler(ClientHandler handler)
sets the Client Event Handlers |
void |
setImage(ImageModel image)
Sets the Image |
void |
setImageAlign(AlignmentType type)
Sets the alignment of an additional image |
void |
setImageStyle(java.lang.String style)
Sets an additional image Style |
void |
setImageVAlign(AlignmentType type)
Sets the vertical alignment of an additional image |
void |
setLabel(java.lang.String label)
Sets the Label. |
void |
setLinkName(java.lang.String linkName)
The anchor name to be defined within this page, so that you can reference it with intra-page hyperlinks. |
void |
setStyle(java.lang.String style)
Sets the Style |
void |
setStyleClass(java.lang.String styleClass)
Sets the StyleClass |
void |
setStyleId(java.lang.String styleId)
Sets the StyleId |
void |
setTarget(java.lang.String target)
Sets the Target |
void |
setTooltip(java.lang.String tooltip)
Sets the ToolTip |
Method Detail |
public void addEventHandler(ClientEvent event, java.lang.String handler)
event
- Eventhandler
- ScriptCodepublic void addParameter(boolean value)
value
- Valuepublic void addParameter(java.lang.Boolean value)
value
- Valuepublic void addParameter(int value)
value
- Valuepublic void addParameter(java.lang.Integer value)
value
- Valuepublic void addParameter(long value)
value
- Valuepublic void addParameter(java.lang.Long value)
value
- Valuepublic void addParameter(java.lang.Object obj)
obj
- Objectpublic void addParameter(java.lang.String value)
value
- Valuepublic org.apache.ecs.ConcreteElement createElement()
public ControlAction getAction()
public java.lang.String getAnchor()
public ImageModel getImage()
public AlignmentType getImageAlign()
public java.lang.String getImageStyle()
public AlignmentType getImageVAlign()
public java.lang.String getLabel()
public java.lang.String getLinkName()
public java.lang.String getStyle()
public java.lang.String getStyleClass()
public java.lang.String getStyleId()
public java.lang.String getTarget()
public java.lang.String getTooltip()
public boolean isActive()
public boolean isFormAction()
true
when this action link should
submit the enclosing HTML formpublic void setActive(boolean b)
b
- Flagpublic void setAnchor(java.lang.String anchor)
anchor
- Anchorpublic void setClientHandler(ClientHandler handler)
handler
- Client Handlerpublic void setImage(ImageModel image)
image
- ImageModelpublic void setImageAlign(AlignmentType type)
type
- Alignment Typepublic void setImageStyle(java.lang.String style)
style
- Image stylepublic void setImageVAlign(AlignmentType type)
type
- Alignment Typepublic void setLabel(java.lang.String label)
label
- Labelpublic void setLinkName(java.lang.String linkName)
linkName
- Link Namepublic void setStyle(java.lang.String style)
style
- Stylepublic void setStyleClass(java.lang.String styleClass)
styleClass
- StyleClasspublic void setStyleId(java.lang.String styleId)
styleId
- StyleIdpublic void setTarget(java.lang.String target)
target
- Targetpublic void setTooltip(java.lang.String tooltip)
tooltip
- ToolTippublic void setBehavior(ActionBehavior behavior)
behavior
- Directs the framework to include a transaction token (if any)
in all generated hyperlinks. The Transaction token is used to
track form re-submissions. enables the AJAX handlers for this
action
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |