|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgui.dialog.DialogContentPaneOptions
public class DialogContentPaneOptions
Defines the buttons that are available in a dialog.
| Field Summary | |
|---|---|
private JAPHelpContext.IHelpContext |
m_helpContext
|
private int |
m_optionType
|
private DialogContentPane |
m_previousContentPane
|
| Constructor Summary | |
|---|---|
DialogContentPaneOptions(DialogContentPane a_previousContentPane)
Creates new button options. |
|
DialogContentPaneOptions(int a_optionType)
Creates new button options. |
|
DialogContentPaneOptions(int a_optionType,
DialogContentPane a_previousContentPane)
Creates new button options. |
|
DialogContentPaneOptions(int a_optionType,
JAPHelpContext.IHelpContext a_helpContext)
Creates new button options. |
|
DialogContentPaneOptions(int a_optionType,
JAPHelpContext.IHelpContext a_helpContext,
DialogContentPane a_previousContentPane)
Creates new button options. |
|
DialogContentPaneOptions(int a_optionType,
java.lang.String a_strHelpContext)
Creates new button options. |
|
DialogContentPaneOptions(int a_optionType,
java.lang.String a_strHelpContext,
DialogContentPane a_previousContentPane)
Creates new button options. |
|
DialogContentPaneOptions(JAPHelpContext.IHelpContext a_helpContext)
Creates new button options. |
|
DialogContentPaneOptions(JAPHelpContext.IHelpContext a_helpContext,
DialogContentPane a_previousContentPane)
Creates new button options. |
|
DialogContentPaneOptions(java.lang.String a_strHelpContext)
Creates new button options. |
|
| Method Summary | |
|---|---|
int |
countExtraButtons()
Overwrite this method to return the number of extra buttons that you would like to introduce. |
protected AbstractDialogExtraButton |
getExtraButton(int a_buttonNr)
|
AbstractDialogExtraButton |
getExtraButtonInternal(int a_buttonNr)
Overwrite this method to return your extra, custom button. |
JAPHelpContext.IHelpContext |
getHelpContext()
|
int |
getOptionType()
|
DialogContentPane |
getPreviousContentPane()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int m_optionType
private DialogContentPane m_previousContentPane
private JAPHelpContext.IHelpContext m_helpContext
| Constructor Detail |
|---|
public DialogContentPaneOptions(int a_optionType)
a_optionType - one of the available option types the define the type and number of buttonspublic DialogContentPaneOptions(java.lang.String a_strHelpContext)
a_strHelpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;public DialogContentPaneOptions(JAPHelpContext.IHelpContext a_helpContext)
a_helpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;public DialogContentPaneOptions(DialogContentPane a_previousContentPane)
a_previousContentPane - A DialogContentPane that will be linked with this one; it gets this
content pane as next content pane. Call moveToNextContentPane() and moveToPreviousContentPane() to
move between the panes.
public DialogContentPaneOptions(JAPHelpContext.IHelpContext a_helpContext,
DialogContentPane a_previousContentPane)
a_helpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;a_previousContentPane - A DialogContentPane that will be linked with this one; it gets this
content pane as next content pane. Call moveToNextContentPane() and moveToPreviousContentPane() to
move between the panes.
public DialogContentPaneOptions(int a_optionType,
DialogContentPane a_previousContentPane)
a_optionType - one of the available option types the define the type and number of buttonsa_previousContentPane - A DialogContentPane that will be linked with this one; it gets this
content pane as next content pane. Call moveToNextContentPane() and moveToPreviousContentPane() to
move between the panes.
public DialogContentPaneOptions(int a_optionType,
JAPHelpContext.IHelpContext a_helpContext)
a_optionType - one of the available option types the define the type and number of buttonsa_helpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;
public DialogContentPaneOptions(int a_optionType,
java.lang.String a_strHelpContext)
a_optionType - one of the available option types the define the type and number of buttonsa_strHelpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;
public DialogContentPaneOptions(int a_optionType,
java.lang.String a_strHelpContext,
DialogContentPane a_previousContentPane)
a_optionType - one of the available option types the define the type and number of buttonsa_strHelpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;a_previousContentPane - A DialogContentPane that will be linked with this one; it gets this
content pane as next content pane. Call moveToNextContentPane() and moveToPreviousContentPane() to
move between the panes.
public DialogContentPaneOptions(int a_optionType,
JAPHelpContext.IHelpContext a_helpContext,
DialogContentPane a_previousContentPane)
a_optionType - one of the available option types the define the type and number of buttonsa_helpContext - a IHelpContext; if it returns an other help context value than null,
a help button is shown that opens the context;a_previousContentPane - A DialogContentPane that will be linked with this one; it gets this
content pane as next content pane. Call moveToNextContentPane() and moveToPreviousContentPane() to
move between the panes.| Method Detail |
|---|
public final int getOptionType()
public final JAPHelpContext.IHelpContext getHelpContext()
public final DialogContentPane getPreviousContentPane()
public int countExtraButtons()
public AbstractDialogExtraButton getExtraButtonInternal(int a_buttonNr)
a_buttonNr - from 0 to countExtraButtons() - 1
protected final AbstractDialogExtraButton getExtraButton(int a_buttonNr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||