com.partnersoft.v3x.apps.Staker.domain
Class HexagonLabel
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexagonLabel
public HexagonLabel()
HexagonLabel
public HexagonLabel(java.lang.String text)
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