|
|||||||||
| Home >> All >> com >> eireneh >> config >> [ choices overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.config.choices
Class ClassChoices

java.lang.Objectcom.eireneh.config.choices.ClassChoices
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class ClassChoices
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
ClassChoices declares the Choices and actions needed to dynamically change the look and feel (PLAF) and to add new PLAFs without needing to restart.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Nested Class Summary | |
class |
ClassChoices.Current
This defines a Choice interface to display a ComboBox with the available Classes. |
class |
ClassChoices.Options
This defines a Choice interface to display a table to edit the available Classes |
| Field Summary | |
protected java.lang.Class |
base
The available Classes |
protected java.util.Hashtable |
options
The available Classes |
| Constructor Summary | |
ClassChoices(java.lang.Class base,
java.util.Hashtable options)
Create a ClassChoice |
|
| Method Summary | |
com.eireneh.config.Choice |
getCurrentChoice()
Gets the Choice for the currently selected Class |
protected abstract java.lang.Class |
getCurrentClass()
All changes to the current Class are piped through this method. |
com.eireneh.config.Choice |
getOptionsChoice()
Gets the Choice for the currently selected Class |
protected abstract void |
setCurrentClass(java.lang.Class new_current)
All changes to the current Class are piped through this method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
options
protected java.util.Hashtable options
- The available Classes
base
protected java.lang.Class base
- The available Classes
| Constructor Detail |
ClassChoices
public ClassChoices(java.lang.Class base, java.util.Hashtable options) throws java.lang.ClassNotFoundException
- Create a ClassChoice
| Method Detail |
getCurrentClass
protected abstract java.lang.Class getCurrentClass()
- All changes to the current Class are piped through this method. In
the base class it does nothing, however implementations of this will
probaly want to use this hook to report changes to the rest of the
program
setCurrentClass
protected abstract void setCurrentClass(java.lang.Class new_current) throws java.lang.Exception
- All changes to the current Class are piped through this method. In
the base class it does nothing, however implementations of this will
probaly want to use this hook to report changes to the rest of the
program
getCurrentChoice
public com.eireneh.config.Choice getCurrentChoice()
- Gets the Choice for the currently selected Class
getOptionsChoice
public com.eireneh.config.Choice getOptionsChoice()
- Gets the Choice for the currently selected Class
|
|||||||||
| Home >> All >> com >> eireneh >> config >> [ choices overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.config.choices.ClassChoices