|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.imsystems.atag.tags.ActionData
public class ActionData
A value object to hold action data entered on
a <a:action/>
tag.
Constructor Summary | |
---|---|
ActionData()
Default constructor. |
|
ActionData(String event,
String url,
String content,
boolean postForm)
Constructor populating all members. |
Method Summary | |
---|---|
String |
getContent()
Retunrs the template body of the tag. |
String |
getEvent()
Returns the name of event this action is registered for. |
String |
getUrl()
Returns the location where events should be posted. |
boolean |
hasContent()
Retunrs true if the underlying tag has a template body |
boolean |
isPostForm()
Retuns true if the action posts the entire form. |
void |
setContent(String content)
Sets the template body of the tag. |
void |
setEvent(String event)
Sets the event that should trigger this action. |
void |
setPostForm(boolean postForm)
Set true to post entire form as opposed to a single component |
void |
setUrl(String url)
Sets the location where events are posted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionData()
public ActionData(String event, String url, String content, boolean postForm)
event
- Name of event (i.e. 'change', 'click', 'focus', etc.)url
- Where to post the eventcontent
- The tag template bodypostForm
- Flag to determine where the event should post the
entire form or just the source componentMethod Detail |
---|
public String getContent()
public void setContent(String content)
content
- The template bodypublic String getEvent()
public void setEvent(String event)
event
- Name of event (i.e. 'change', 'click', 'focus', etc.)public String getUrl()
public void setUrl(String url)
url
- The locationpublic boolean hasContent()
public boolean isPostForm()
public void setPostForm(boolean postForm)
postForm
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |