|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgui.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 checkbox
public 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 clicked
public 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 clicked
public 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 checkbox
public 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 clicked
public 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 clicked| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in interface JAPDialog.ILinkedInformationgetMessage in class JAPDialog.LinkedHelpContextpublic void clicked(boolean a_bState)
clicked in interface JAPDialog.ILinkedInformationclicked in class JAPDialog.LinkedHelpContexta_bState - sets the current state of the checkboxpublic final boolean getState()
public final int getType()
getType in interface JAPDialog.ILinkedInformationgetType in class JAPDialog.LinkedHelpContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||