|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.controls.JetProperty
jet.controls.JetNumber
public class JetNumber
A class for the Jet number property.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JetNumber()
|
|
JetNumber(JetObject parent,
java.lang.String name)
Creates a JetNumber object. |
|
JetNumber(JetObject parent,
java.lang.String name,
int defval)
Creates a JetNumber object. |
|
| Method Summary | |
|---|---|
boolean |
addToAtomicAction(java.lang.String newValue)
|
double |
doubleValue()
Returns the value of this number as a double. |
float |
floatValue()
Returns the value of this number as a float. |
int |
get()
Returns the int value of this number. |
int |
getInt()
|
int[] |
getMatchingSqlType()
Get Matching SQL Type of this property |
java.util.Vector |
getPropertyChoice()
|
int |
intValue()
Returns the value of this number as an int. |
long |
longValue()
Returns the value of this number as a long. |
void |
set(double value)
Sets the property value with the specified value; notifies its comprising object. |
void |
set(float value)
Sets the property value with the specified value; notifies its comprising object. |
void |
set(int value)
Sets the property value with the specified value; notifies its comprising object. |
void |
set(long value)
Sets the property value with the specified value; notifies its comprising object. |
void |
set(java.lang.String theval)
Sets the value to this property through a String. |
void |
setInt(int i)
|
void |
setPropertyChoice(java.util.Vector propertyChoice)
|
void |
setValue(int value)
Sets the property value with the specified value; does not notify its comprising object. |
java.lang.String |
toString()
Returns a String object representing this number's value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JetNumber()
public JetNumber(JetObject parent,
java.lang.String name)
parent - object that created this object, that is, its comprising object.
name - property's name.
public JetNumber(JetObject parent,
java.lang.String name,
int defval)
parent - comprising object.
name - property's name.
defval - default value for this property.| Method Detail |
|---|
public void set(int value)
value - value for this number.
set(int),
get()public void set(long value)
value - value for this number.
set(int),
get()public void set(float value)
value - value for this number.
set(int),
get()public void set(double value)
value - value for this number.
set(int),
get()public void set(java.lang.String theval)
set in class JetPropertytheval - String value.public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic int get()
set(int)public void setValue(int value)
value - value for this number.
set(int),
get()public int getInt()
public void setInt(int i)
public boolean addToAtomicAction(java.lang.String newValue)
public int[] getMatchingSqlType()
JetProperty
getMatchingSqlType in class JetPropertypublic java.util.Vector getPropertyChoice()
getPropertyChoice in class JetPropertypublic void setPropertyChoice(java.util.Vector propertyChoice)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||