jpicedt.graphic.model
Class PicAttributeName
java.lang.Object
jpicedt.graphic.model.PicAttributeName
- public class PicAttributeName
- extends Object
A wrapper for an attribute name that can be pushed into a PicAttributeSet.
This allows typesafe enumerations, and besides enforces runtime checking as for
attributes values that can be safely attached to this PicAttributeName.
- Since:
- jpicedt 1.3.2
- Version:
- $Id: PicAttributeName.java,v 1.9.2.1 2007/09/02 11:56:26 reynal Exp $
- Author:
- Sylvain Reynal
allowedValueClass
protected Class allowedValueClass
PicAttributeName
protected PicAttributeName(String name,
Class allowedValueClass)
- Parameters:
name
- PsTrick's name for this attributeallowedValueClass
- which class is allowed for attribute values
toString
public String toString()
getName
public String getName()
- Return the name of the attribute described by this PicAttributeName
getAllowedValueClass
public Class getAllowedValueClass()
- Return the class that is allowed for attribute values
Submit a bug : syd@jpicedt.org