|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.properties.items.AnimationPropertyItem
algoanim.properties.items.IntegerPropertyItem
public class IntegerPropertyItem
Represents an AnimationPropertiesItem that stores an
int value.
| Constructor Summary | |
|---|---|
IntegerPropertyItem()
Sets the default value to 1. |
|
IntegerPropertyItem(int defValue)
Sets the default value to defValue. |
|
IntegerPropertyItem(int defValue,
int minValue,
int maxValue)
Gives the item bounds for the value saved in it, the value given by set must in between [min, max]. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor v)
Defines the interface for a Visitor to access a Visitable. |
java.lang.Object |
clone()
Clones the element |
java.lang.Object |
get()
Returns a represantation of the internal value. |
boolean |
set(int value)
Sets the internal value to a new one, if this object contains an int value. |
| Methods inherited from class algoanim.properties.items.AnimationPropertyItem |
|---|
set, set, set, set, set |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerPropertyItem()
public IntegerPropertyItem(int defValue)
defValue - the default value.
public IntegerPropertyItem(int defValue,
int minValue,
int maxValue)
defValue - default valueminValue - lower boundmaxValue - upper bound| Method Detail |
|---|
public java.lang.Object get()
AnimationPropertyItem
get in class AnimationPropertyItemAnimationPropertyItem.get()
public boolean set(int value)
throws java.lang.IllegalArgumentException
AnimationPropertyItemint value.
set in class AnimationPropertyItemvalue - a new int value.
java.lang.IllegalArgumentExceptionAnimationPropertyItem.set(int)public java.lang.Object clone()
clone in class AnimationPropertyItemAnimationProperties.fillAdditional()public void accept(Visitor v)
Visitable
accept in interface Visitableaccept in class AnimationPropertyItemv - the visitorVisitable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||