org.kite9.diagram.adl
Class Symbol

java.lang.Object
  extended by org.kite9.diagram.adl.Symbol
All Implemented Interfaces:
Comparable<Symbol>

public class Symbol
extends Object
implements Comparable<Symbol>


Nested Class Summary
static class Symbol.SymbolShape
           
 
Constructor Summary
Symbol()
           
Symbol(String text, char preferredChar, Symbol.SymbolShape shape)
           
 
Method Summary
 int compareTo(Symbol o)
           
 boolean equals(Object arg0)
           
 char getChar()
           
 String getID()
           
 Symbol.SymbolShape getShape()
           
 void setChar(char theChar)
           
 void setShape(Symbol.SymbolShape shape)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Symbol

public Symbol()

Symbol

public Symbol(String text,
              char preferredChar,
              Symbol.SymbolShape shape)
Method Detail

getID

public String getID()

equals

public boolean equals(Object arg0)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getChar

public char getChar()

setChar

public void setChar(char theChar)

getShape

public Symbol.SymbolShape getShape()

setShape

public void setShape(Symbol.SymbolShape shape)

compareTo

public int compareTo(Symbol o)
Specified by:
compareTo in interface Comparable<Symbol>


Copyright © 2011. All Rights Reserved.