jsynoptic.plugins.java3d.edit
Class MaterialColorEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by jsynoptic.plugins.java3d.edit.PropertyEdit<Material,Color3f>
          extended by jsynoptic.plugins.java3d.edit.MaterialColorEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit

public class MaterialColorEdit
extends PropertyEdit<Material,Color3f>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jsynoptic.plugins.java3d.edit.PropertyEdit
PropertyEdit.UndoRedoListener
 
Field Summary
static java.lang.String AmbientColor
           
static java.lang.String DiffuseColor
           
static java.lang.String EmissiveColor
           
static java.lang.String SpecularColor
           
 
Fields inherited from class jsynoptic.plugins.java3d.edit.PropertyEdit
_ad, _changed, _listeners, _newValue, _node, _object, _oldValue, _propertyName
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
MaterialColorEdit(Material object, java.lang.String name)
           
 
Method Summary
 java.lang.String getDisplayClassName()
           
 Color3f getPropertyValue()
           
 void setPropertyValue(Color3f res)
           
 
Methods inherited from class jsynoptic.plugins.java3d.edit.PropertyEdit
addListener, compare, forceCapability, getOldValue, getPresentationName, isModified, redo, removeListener, restoreCapability, setNewValue, setNode, toString, undo
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AmbientColor

public static final java.lang.String AmbientColor
See Also:
Constant Field Values

DiffuseColor

public static final java.lang.String DiffuseColor
See Also:
Constant Field Values

EmissiveColor

public static final java.lang.String EmissiveColor
See Also:
Constant Field Values

SpecularColor

public static final java.lang.String SpecularColor
See Also:
Constant Field Values
Constructor Detail

MaterialColorEdit

public MaterialColorEdit(Material object,
                         java.lang.String name)
Method Detail

getPropertyValue

public Color3f getPropertyValue()
Specified by:
getPropertyValue in class PropertyEdit<Material,Color3f>

setPropertyValue

public void setPropertyValue(Color3f res)
Specified by:
setPropertyValue in class PropertyEdit<Material,Color3f>

getDisplayClassName

public java.lang.String getDisplayClassName()
Specified by:
getDisplayClassName in class PropertyEdit<Material,Color3f>