wtanaka.praya.config
Class IntegerConfigItem

java.lang.Object
  |
  +--wtanaka.praya.config.ConfigItem
        |
        +--wtanaka.praya.config.IntegerConfigItem

public class IntegerConfigItem
extends ConfigItem

A ConfigItem representing an integer.

Return to Sourceforge or the Praya Homepage

Version:
$Name: $ $Date: 2001/10/03 07:34:14 $
Author:
$Author: wtanaka $

Field Summary
private  int m_value
           
 
Fields inherited from class wtanaka.praya.config.ConfigItem
m_broadcastEvent, m_listeners, m_name
 
Constructor Summary
IntegerConfigItem(java.lang.String name, int initial)
           
 
Method Summary
 int getIntValue()
           
 java.lang.Object getValue()
           
 void setIntValue(int newValue)
           
 void setValue(java.lang.Object newValue)
           
 
Methods inherited from class wtanaka.praya.config.ConfigItem
addConfigItemChangeListener, fireValueChanged, getName, removeConfigItemChangeListener
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

m_value

private int m_value
Constructor Detail

IntegerConfigItem

public IntegerConfigItem(java.lang.String name,
                         int initial)
Method Detail

getValue

public java.lang.Object getValue()
Overrides:
getValue in class ConfigItem

getIntValue

public int getIntValue()

setValue

public void setValue(java.lang.Object newValue)
Overrides:
setValue in class ConfigItem

setIntValue

public void setIntValue(int newValue)