|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gui.dialog.JAPDialog.LinkedInformationAdapter gui.dialog.JAPDialog.LinkedHelpContext gui.dialog.JAPDialog.LinkedCheckBox
public static class JAPDialog.LinkedCheckBox
Shows a checkbox with a message on the dialog window.
Field Summary | |
---|---|
private boolean |
m_bDefault
|
private boolean |
m_bState
|
private java.lang.String |
m_strMessage
|
static java.lang.String |
MSG_DO_NOT_SHOW_AGAIN
|
static java.lang.String |
MSG_REMEMBER_ANSWER
|
Fields inherited from interface gui.dialog.JAPDialog.ILinkedInformation |
---|
MSG_MORE_INFO, TYPE_CHECKBOX_FALSE, TYPE_CHECKBOX_TRUE, TYPE_DEFAULT, TYPE_LINK, TYPE_SELECTABLE_LINK |
Constructor Summary | |
---|---|
JAPDialog.LinkedCheckBox(boolean a_bDefault)
Creates a new linked checkbox with the default message MSG_DO_NOT_SHOW_AGAIN. |
|
JAPDialog.LinkedCheckBox(boolean a_bDefault,
JAPHelpContext.IHelpContext a_helpContext)
Creates a new linked checkbox with the default message MSG_DO_NOT_SHOW_AGAIN. |
|
JAPDialog.LinkedCheckBox(boolean a_bDefault,
java.lang.String a_strHelpContext)
Creates a new linked checkbox with the default message MSG_DO_NOT_SHOW_AGAIN. |
|
JAPDialog.LinkedCheckBox(java.lang.String a_strMessage,
boolean a_bDefault)
Creates a new linked checkbox. |
|
JAPDialog.LinkedCheckBox(java.lang.String a_strMessage,
boolean a_bDefault,
JAPHelpContext.IHelpContext a_helpContext)
Creates a new linked checkbox. |
|
JAPDialog.LinkedCheckBox(java.lang.String a_strMessage,
boolean a_bDefault,
java.lang.String a_strHelpContext)
Creates a new linked checkbox. |
Method Summary | |
---|---|
void |
clicked(boolean a_bState)
Updates the state when the checkbox is clicked. |
java.lang.String |
getMessage()
Returns the information message of the checkbox. |
boolean |
getState()
Returns the state of the checkbox. |
int |
getType()
Returns, depending on the default value, either TYPE_CHECKBOX_TRUE or TYPE_CHECKBOX_FALSE. |
Methods inherited from class gui.dialog.JAPDialog.LinkedHelpContext |
---|
getHelpContext, getHelpExtractionDisplayContext, isApplicationModalityForced |
Methods inherited from class gui.dialog.JAPDialog.LinkedInformationAdapter |
---|
getTooltipText, isCloseWindowActive, isModal, isOnTop |
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 MSG_REMEMBER_ANSWER
public static final java.lang.String MSG_DO_NOT_SHOW_AGAIN
private java.lang.String m_strMessage
private boolean m_bDefault
private boolean m_bState
Constructor Detail |
---|
public JAPDialog.LinkedCheckBox(boolean a_bDefault)
a_bDefault
- the default value of the checkboxpublic JAPDialog.LinkedCheckBox(boolean a_bDefault, JAPHelpContext.IHelpContext a_helpContext)
a_bDefault
- the default value of the checkboxa_helpContext
- the help context that is opened when the help button is clickedpublic JAPDialog.LinkedCheckBox(boolean a_bDefault, java.lang.String a_strHelpContext)
a_bDefault
- the default value of the checkboxa_strHelpContext
- the help context that is opened when the help button is clickedpublic JAPDialog.LinkedCheckBox(java.lang.String a_strMessage, boolean a_bDefault)
a_strMessage
- a message to be displayed with the checkboxa_bDefault
- the default value of the checkboxpublic JAPDialog.LinkedCheckBox(java.lang.String a_strMessage, boolean a_bDefault, java.lang.String a_strHelpContext)
a_strMessage
- a message to be displayed with the checkboxa_bDefault
- the default value of the checkboxa_strHelpContext
- the help context that is opened when the help button is clickedpublic JAPDialog.LinkedCheckBox(java.lang.String a_strMessage, boolean a_bDefault, JAPHelpContext.IHelpContext a_helpContext)
a_strMessage
- a message to be displayed with the checkboxa_bDefault
- the default value of the checkboxa_helpContext
- the help context that is opened when the help button is clickedMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in interface JAPDialog.ILinkedInformation
getMessage
in class JAPDialog.LinkedHelpContext
public void clicked(boolean a_bState)
clicked
in interface JAPDialog.ILinkedInformation
clicked
in class JAPDialog.LinkedHelpContext
a_bState
- sets the current state of the checkboxpublic final boolean getState()
public final int getType()
getType
in interface JAPDialog.ILinkedInformation
getType
in class JAPDialog.LinkedHelpContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |