com.tensegrity.gui.component
Class AttributeEditorProperties.Enum

java.lang.Object
  extended bycom.tensegrity.gui.component.AttributeEditorProperties.Enum
Enclosing class:
AttributeEditorProperties

public static class AttributeEditorProperties.Enum
extends java.lang.Object

Class Enum encapsulates a Constraint instance and a String.

Version:
$Id: AttributeEditorProperties.java,v 1.51 2006/03/02 11:40:58 BurkhardWick Exp $
Author:
Gilles Iachelini

Constructor Summary
AttributeEditorProperties.Enum(Constraint constraint, java.lang.String name)
          Creates a new Enum instance.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Constraint getConstraint()
          Returns the Constraint of this enum.
 java.lang.String toString()
          Returns the name of this enum.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeEditorProperties.Enum

public AttributeEditorProperties.Enum(Constraint constraint,
                                      java.lang.String name)
Creates a new Enum instance.

Parameters:
constraint - an instance of class Constraint.
name - the name of this Enum.
Method Detail

toString

public java.lang.String toString()
Returns the name of this enum.

Returns:
String the name of this enum.

getConstraint

public Constraint getConstraint()
Returns the Constraint of this enum.

Returns:
Constraint the constraint of this enum.

equals

public boolean equals(java.lang.Object o)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.