|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.DefaultMutableValue
public class DefaultMutableValue
General purpose value object that obeys the Value and
ValueSettable contracts.
| Constructor Summary | |
|---|---|
protected |
DefaultMutableValue(double value)
Creates a new DefaultMutableValue for the specified data. |
| Method Summary | |
|---|---|
static DefaultMutableValue |
create()
Creates a new DefaultMutableValue with data 0.0. |
static DefaultMutableValue |
create(double value)
Creates a new DefaultMutableValue for the specified data. |
double |
getValue()
Returns the value object's data. |
void |
setValue(double value)
Specifies the value object's data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DefaultMutableValue(double value)
value - the data| Method Detail |
|---|
public double getValue()
getValue in interface Valuepublic void setValue(double value)
setValue in interface ValueSettablevalue - the datapublic static DefaultMutableValue create(double value)
value - the data
public static DefaultMutableValue create()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||