cz.cmc.tcgui.datadef
Class AttributeGroup.AttributeSet

java.lang.Object
  extended bycz.cmc.tcgui.datadef.AttributeGroup.AttributeSet
Enclosing class:
AttributeGroup

public static class AttributeGroup.AttributeSet
extends Object

Class for defining attribute sets.


Field Summary
protected  String name
          This set's name
protected  int priority
          Priority of this set's usage
 
Constructor Summary
AttributeGroup.AttributeSet(String name, int priority)
          Create a new attribute set.
 
Method Summary
 Object clone()
          Clones this AttributeSet
 String getName()
          Returns the name of the attribute set
 int getPriority()
          Returns the priority of the attribute set
 void setName(String name)
          Sets the name of the attribute set
 void setPriority(int priority)
          Sets the priority of the attribute set
 String toString()
          Creates and returns string representation of this AttributeSet.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name
This set's name


priority

protected int priority
Priority of this set's usage

Constructor Detail

AttributeGroup.AttributeSet

public AttributeGroup.AttributeSet(String name,
                                   int priority)
Create a new attribute set.

Parameters:
name - name of the set
priority - priority of the set
Method Detail

getName

public String getName()
Returns the name of the attribute set

Returns:
name of the attribute set

setName

public void setName(String name)
Sets the name of the attribute set

Parameters:
name - name to set

getPriority

public int getPriority()
Returns the priority of the attribute set

Returns:
priority of the attribute set

setPriority

public void setPriority(int priority)
Sets the priority of the attribute set

Parameters:
priority - priority to set

clone

public Object clone()
Clones this AttributeSet

Returns:
cloned AttributeSet

toString

public String toString()
Creates and returns string representation of this AttributeSet.

Returns:
String representing this object