|
juife v0.1a |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
net.sf.juife.plaf.WizardUI
net.sf.juife.plaf.basic.BasicWizardUI
public class BasicWizardUI
Basic L&F implementation of WizardUI
.
Method Summary | |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a new instance of BasicWizardUI . |
void |
displayBackButton(boolean b)
Determines whether to display the 'Back' button in the Bottom Pane. |
void |
displayCancelButton(boolean b)
Determines whether to display the 'Cancel' button in the Bottom Pane. |
void |
displayCloseButton(boolean b)
Determines whether to display the 'Close' button in the Bottom Pane. |
void |
displayFinishButton(boolean b)
Determines whether to display the 'Finish' button in the Bottom Pane. |
void |
displayHelpButton(boolean b)
Determines whether to display the 'Help' button in the Bottom Pane. |
void |
displayLastButton(boolean b)
Determines whether to display the 'Last' button in the Bottom Pane. |
void |
displayNextButton(boolean b)
Determines whether to display the 'Nex't button in the Bottom Pane. |
void |
enableBackButton(boolean enabled)
Determines whether to enable the 'Back' button in the Bottom Pane. |
void |
enableCancelButton(boolean enabled)
Determines whether to enable the 'Cancel' button in the Bottom Pane. |
void |
enableFinishButton(boolean enabled)
Determines whether to enable the 'Finish' button in the Bottom Pane. |
void |
enableHelpButton(boolean enabled)
Determines whether to enable the 'Help' button in the Bottom Pane. |
void |
enableLastButton(boolean enabled)
Determines whether to enable the 'Last' button in the Bottom Pane. |
void |
enableNextButton(boolean enabled)
Determines whether to enable the 'Nex't button in the Bottom Pane. |
protected java.lang.String |
getPropertyPrefix()
Gets the property prefix. |
protected void |
installDefaults()
Installs the UI defaults. |
protected void |
installListeners()
Installs the event listeners for the UI. |
void |
installUI(javax.swing.JComponent c)
Configures the specified component appropriate for the look and feel. |
boolean |
mayCancelWizard()
Determines whether the wizard can be cancelled. |
void |
setCurrentPage(WizardPage page)
Sets the current page of the wizard. |
protected void |
uninstallDefaults()
Uninstalls the UI defaults. |
protected void |
uninstallListeners()
Uninstalls the event listeners for the UI. |
void |
uninstallUI(javax.swing.JComponent c)
Reverses configuration which was done on the specified component during installUI . |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected java.lang.String getPropertyPrefix()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
BasicWizardUI
.
BasicWizardUI
.public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
c
- The component where this UI delegate is being installed.protected void installDefaults()
protected void installListeners()
public void uninstallUI(javax.swing.JComponent c)
installUI
. This method is invoked when this
BasicWizardUI
instance is being removed as
the UI delegate for the specified component.
uninstallUI
in class javax.swing.plaf.ComponentUI
c
- The component from which this UI delegate is being removed.protected void uninstallDefaults()
protected void uninstallListeners()
public void setCurrentPage(WizardPage page)
page
- The wizard page to be set as current.public void displayBackButton(boolean b)
b
- Specify true
to display the 'Back' button in the Bottom Pane;
false
to hide the 'Back' button.public void displayNextButton(boolean b)
b
- Specify true
to display the 'Next' button in the Bottom Pane;
false
to hide the 'Next' button.public void displayLastButton(boolean b)
b
- Specify true
to display the 'Last' button in the Bottom Pane;
false
to hide the 'Last' button.public void displayFinishButton(boolean b)
b
- Specify true
to display the 'Finish' button in the Bottom Pane;
false
to hide the 'Finish' button.public void displayCancelButton(boolean b)
b
- Specify true
to display the 'Cancel' button in the Bottom Pane;
false
to hide the 'Cancel' button.public void displayHelpButton(boolean b)
b
- Specify true
to display the 'Help' button in the Bottom Pane;
false
to hide the 'Help' button.public void displayCloseButton(boolean b)
b
- Specify true
to display the 'Close' button in the Bottom Pane;
false
to hide the 'Close' button.public void enableBackButton(boolean enabled)
enabled
- Specify true
to enable the 'Back' button in the Bottom Pane;
false
to disable the 'Back' button.JComponent.setEnabled(boolean)
public void enableNextButton(boolean enabled)
enabled
- Specify true
to enable the 'Next' button in the Bottom Pane;
false
to disable the 'Next' button.JComponent.setEnabled(boolean)
public void enableLastButton(boolean enabled)
enabled
- Specify true
to enable the 'Last button' in the Bottom Pane;
false
to disable the 'Last' button.JComponent.setEnabled(boolean)
public void enableFinishButton(boolean enabled)
enabled
- Specify true
to enable the 'Finish' button
in the Bottom Pane; false
to disable the 'Finish' button.JComponent.setEnabled(boolean)
public void enableCancelButton(boolean enabled)
enabled
- Specify true
to enable the 'Cancel' button
in the Bottom Pane; false
to disable the 'Cancel' button.JComponent.setEnabled(boolean)
public void enableHelpButton(boolean enabled)
enabled
- Specify true
to enable the 'Help' button in the Bottom Pane;
false
to disable the 'Help' button.JComponent.setEnabled(boolean)
public boolean mayCancelWizard()
mayCancelWizard
in class WizardUI
true
if the wizard can be cancelled, false
otherwise.
|
juife v0.1a |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005 Grigor Iliev. All rights reserved. |