org.gscg.gameleader.animation2D.mouse
Class IntrospectedFieldData
java.lang.Object
org.gscg.gameleader.animation2D.mouse.IntrospectedFieldData
- All Implemented Interfaces:
- java.io.Serializable
- public class IntrospectedFieldData
- extends java.lang.Object
- implements java.io.Serializable
Contains data for a field for client-side introspected objects on an
animation panel.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.1.2
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:33:54 $
- Author:
- Stijn-Pieter
van Houten
- See Also:
- Serialized Form
Constructor Summary |
IntrospectedFieldData(java.lang.String name,
java.io.Serializable value,
boolean editable)
constructs a new IntrospectedFieldData |
Method Summary |
java.lang.String |
getName()
|
java.io.Serializable |
getValue()
|
boolean |
isEditable()
|
void |
setValue(java.lang.Number value)
Sets the value Since we assume that this is always a number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntrospectedFieldData
public IntrospectedFieldData(java.lang.String name,
java.io.Serializable value,
boolean editable)
- constructs a new IntrospectedFieldData
- Parameters:
name
- the name of the fieldvalue
- the valueeditable
- editable or not
isEditable
public boolean isEditable()
- Returns:
- Returns editable
getName
public java.lang.String getName()
- Returns:
- Returns the name
getValue
public java.io.Serializable getValue()
- Returns:
- Returns the value
setValue
public void setValue(java.lang.Number value)
- Sets the value Since we assume that this is always a number. In the
IntrospectionUtil we expect this value indeed to be of type Number after
client-side a change has been made using the introspection dialog.
- Parameters:
value
- the value to set
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.