|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.util.CheckboxTagSupport
public final class CheckboxTagSupport
Support for communication between Webwork actions and checkbox tags. Encapsulates two boolean flags for getting and setting pre- and post-action values of the checkbox.
Constructor Summary | |
---|---|
CheckboxTagSupport(boolean preAction)
Constructor accepting pre-action value of the checkbox. |
Method Summary | |
---|---|
boolean |
hasChanged()
Provides information, if the actual value of checkbox was changed. |
boolean |
postAction()
Post-action value set from the request. |
void |
postAction(boolean postAction)
Post-action value coming from the reqest. |
boolean |
preAction()
Getter for pre-action value of the checkbox. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CheckboxTagSupport(boolean preAction)
preAction
- Method Detail |
---|
public boolean preAction()
public void postAction(boolean postAction)
postAction
- post-action checkbox value from the requestpublic boolean postAction()
public boolean hasChanged()
postAction(boolean)
was
invoked).
true
, if the value of checkbox was changed by the last request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |