|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface JAPDialog.ILinkedInformation
Classes of this type are used to append a clickable and/or selectable message at the end of a dialog message. You may define any after-click-action that you want, for example open a help window. If an ILinkedInformation implements the interface JAPHelpContext.IHelpContext, a help button is shown that opens the specified help context on clicking.
Field Summary | |
---|---|
static java.lang.String |
MSG_MORE_INFO
|
static int |
TYPE_CHECKBOX_FALSE
Shows a checkbox and (!!) a help button if JAPHelpContext.IHelpContext is implemented |
static int |
TYPE_CHECKBOX_TRUE
Shows a checkbox and (!!) a help button if JAPHelpContext.IHelpContext is implemented |
static int |
TYPE_DEFAULT
Shows a clickable link or a help button if JAPHelpContext.IHelpContext is implemented |
static int |
TYPE_LINK
Shows a clickable link and (!!) a help button if JAPHelpContext.IHelpContext is implemented |
static int |
TYPE_SELECTABLE_LINK
Shows a selectable link and (!!) a help button if JAPHelpContext.IHelpContext is implemented |
Method Summary | |
---|---|
void |
clicked(boolean a_bState)
Performs an action when the link is clicked, for example opening a browser window, an E-Mail client or a help page. |
java.lang.String |
getMessage()
Returns the information message. |
java.lang.String |
getTooltipText()
|
int |
getType()
Returns the type the the linked information. |
boolean |
isApplicationModalityForced()
Returns if the dialog should block all other windows. |
boolean |
isCloseWindowActive()
Returns if a click on the close button of the dialog closes the window. |
boolean |
isModal()
|
boolean |
isOnTop()
Returns if this dialog should be on top of all other windows in the system. |
Field Detail |
---|
static final java.lang.String MSG_MORE_INFO
static final int TYPE_DEFAULT
static final int TYPE_LINK
static final int TYPE_SELECTABLE_LINK
static final int TYPE_CHECKBOX_TRUE
static final int TYPE_CHECKBOX_FALSE
Method Detail |
---|
java.lang.String getMessage()
null
or empty,
no linked information will be displayed.
void clicked(boolean a_bState)
a_bState
- sets the current state if the linked information is defined as a checkbox.int getType()
clicked
method is called with the state of the checkbox.
You may initialise the checkbox with true (TYPE_CHECKBOX_TRUE) or false (TYPE_CHECKBOX_FALSE).
boolean isApplicationModalityForced()
boolean isOnTop()
boolean isModal()
boolean isCloseWindowActive()
java.lang.String getTooltipText()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |