com.partnersoft.v3x.apps.Staker.domain
Class HexagonLabel

java.lang.Object
  extended by com.partnersoft.v3x.apps.Staker.domain.HexagonLabel
All Implemented Interfaces:
Selectable

public class HexagonLabel
extends java.lang.Object
implements Selectable

Paints a string with a hexagon around it.


Constructor Summary
HexagonLabel()
           
HexagonLabel(java.lang.String text)
           
 
Method Summary
 double getAngle()
           
 int getDistance()
           
 java.lang.String getText()
           
 boolean isSelected()
           
 void paint(java.awt.Graphics g)
           
 void setAngle(double newAngle)
           
 void setDistance(int newDistance)
           
 void setSelected(boolean tizit)
           
 void setText(java.lang.String newText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexagonLabel

public HexagonLabel()

HexagonLabel

public HexagonLabel(java.lang.String text)
Method Detail

paint

public void paint(java.awt.Graphics g)

getText

public java.lang.String getText()

setText

public void setText(java.lang.String newText)

getAngle

public double getAngle()

setAngle

public void setAngle(double newAngle)

getDistance

public int getDistance()

setDistance

public void setDistance(int newDistance)

isSelected

public boolean isSelected()
Specified by:
isSelected in interface Selectable

setSelected

public void setSelected(boolean tizit)
Specified by:
setSelected in interface Selectable