Side of Software
Wizard Library 1.6

sos.wizard
Class OptionPage

java.lang.Object
  |
  +--sos.wizard.AbstractModel
        |
        +--sos.wizard.AbstractPage
              |
              +--sos.wizard.OptionPage
All Implemented Interfaces:
Model, Page, java.io.Serializable

public class OptionPage
extends AbstractPage

A generic page that contains a message. The message is of type java.lang.Object; therefore, the message may be anything, including text, gui components, and arrays.

Since:
1.0
See Also:
OptionPageEditor

Field Summary
 
Fields inherited from interface sos.wizard.Page
COMPLETE_PROPERTY, NAME_PROPERTY
 
Constructor Summary
OptionPage()
          Creates a new instance of OptionPage with no name or message.
OptionPage(java.lang.Object name, java.lang.Object message)
          Creates a new instance of OptionPage with the specified name and message.
 
Method Summary
 java.lang.Object getMessage()
          Returns this page's message.
 boolean isComplete()
          Returns true if this page is considered complete, or finished.
 void setComplete(boolean complete)
          Sets whether or not this page is complete.
 
Methods inherited from class sos.wizard.AbstractPage
getValue, putValue, validate
 
Methods inherited from class sos.wizard.AbstractModel
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sos.wizard.Model
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

OptionPage

public OptionPage()
Creates a new instance of OptionPage with no name or message.


OptionPage

public OptionPage(java.lang.Object name,
                  java.lang.Object message)
Creates a new instance of OptionPage with the specified name and message.

Parameters:
name - name of this page
message - this page's message
Method Detail

getMessage

public java.lang.Object getMessage()
Returns this page's message.

Returns:
the message

isComplete

public boolean isComplete()
Description copied from interface: Page
Returns true if this page is considered complete, or finished.

Returns:
true if this page is complete

setComplete

public void setComplete(boolean complete)
Sets whether or not this page is complete.

Parameters:
complete - completion status of this page
See Also:
isComplete()

Side of Software
Wizard Library 1.6

Copyright 2004-07 Side of Software (SOS). All rights reserved.