org.progeeks.meta.swing.wizard
Class PageConfiguration

java.lang.Object
  extended by org.progeeks.util.DefaultFixable
      extended by org.progeeks.meta.swing.wizard.PageConfiguration
All Implemented Interfaces:
Fixable

public class PageConfiguration
extends DefaultFixable

Configuration information for a page in a Wizard dialog. PageConfiguration implements the Fixable interface to allow tweaking before the configuration is actually added to a wizard. Once a page has been added to a wizard it can no longer be modified. Note: it was easier to just make this class Fixable. But it would probably be better to make it a bean with property change support.

Version:
$Revision: 1.2 $
Author:
Paul Speed

Field Summary
 
Fields inherited from class org.progeeks.util.DefaultFixable
fixed
 
Constructor Summary
PageConfiguration(PageConfiguration config)
          Creates a modifiable clone of the specified page.
PageConfiguration(java.lang.String name, javax.swing.Icon icon, java.util.List fields)
          Creates a page with the specified name that references the specified fields that is editable but not scrollable.
PageConfiguration(java.lang.String name, java.lang.String description)
          Creates a page with the specified name that references no fields, that is editable, but not scrollable.
PageConfiguration(java.lang.String name, java.lang.String description, javax.swing.Icon icon)
          Creates a page with the specified name that references no fields, that is editable, but not scrollable.
PageConfiguration(java.lang.String name, java.lang.String description, java.util.List fields)
          Creates a page with the specified name that references the specified fields that is editable but not scrollable.
PageConfiguration(java.lang.String name, java.lang.String description, java.util.List fields, javax.swing.Icon icon, boolean editable, boolean scrollable)
          Creates a page with the specified configuration.
PageConfiguration(java.lang.String name, java.lang.String description, java.util.List fields, javax.swing.Icon icon, boolean editable, boolean scrollable, PageEvaluator pageEval)
          Creates a page with the specified configuration.
PageConfiguration(java.lang.String name, java.lang.String description, java.lang.String field, javax.swing.Icon icon, boolean editable, boolean scrollable)
          Creates a page with the specified name and only one field.
 
Method Summary
 java.lang.String getDescription()
           
 java.util.List getFields()
           
 javax.swing.Icon getIcon()
           
 java.lang.String getName()
           
 PageEvaluator getPageEvaluator()
           
 boolean isEditable()
           
 boolean isScrollable()
           
 void setDescription(java.lang.String desc)
           
 void setEditable(boolean editable)
           
 void setFields(java.util.List fields)
           
 void setIcon(javax.swing.Icon icon)
           
 void setName(java.lang.String name)
           
 void setPageEvaluator(PageEvaluator pageEval)
           
 void setScrollable(boolean scrollable)
           
 
Methods inherited from class org.progeeks.util.DefaultFixable
checkModification, isFixed, setFixed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageConfiguration

public PageConfiguration(PageConfiguration config)
Creates a modifiable clone of the specified page.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         java.lang.String description)
Creates a page with the specified name that references no fields, that is editable, but not scrollable.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         java.lang.String description,
                         javax.swing.Icon icon)
Creates a page with the specified name that references no fields, that is editable, but not scrollable.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         java.lang.String description,
                         java.util.List fields)
Creates a page with the specified name that references the specified fields that is editable but not scrollable.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         javax.swing.Icon icon,
                         java.util.List fields)
Creates a page with the specified name that references the specified fields that is editable but not scrollable.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         java.lang.String description,
                         java.lang.String field,
                         javax.swing.Icon icon,
                         boolean editable,
                         boolean scrollable)
Creates a page with the specified name and only one field.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         java.lang.String description,
                         java.util.List fields,
                         javax.swing.Icon icon,
                         boolean editable,
                         boolean scrollable)
Creates a page with the specified configuration.


PageConfiguration

public PageConfiguration(java.lang.String name,
                         java.lang.String description,
                         java.util.List fields,
                         javax.swing.Icon icon,
                         boolean editable,
                         boolean scrollable,
                         PageEvaluator pageEval)
Creates a page with the specified configuration.

Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setDescription

public void setDescription(java.lang.String desc)

getDescription

public java.lang.String getDescription()

setIcon

public void setIcon(javax.swing.Icon icon)

getIcon

public javax.swing.Icon getIcon()

setFields

public void setFields(java.util.List fields)

getFields

public java.util.List getFields()

setEditable

public void setEditable(boolean editable)

isEditable

public boolean isEditable()

setScrollable

public void setScrollable(boolean scrollable)

isScrollable

public boolean isScrollable()

setPageEvaluator

public void setPageEvaluator(PageEvaluator pageEval)

getPageEvaluator

public PageEvaluator getPageEvaluator()


Copyright © 2002-2003 Paul Speed. All Rights Reserved.