info.bioinfweb.treegraph.graphics.positionpaint.labelicons
Class RectangleIcon

java.lang.Object
  extended by info.bioinfweb.treegraph.graphics.positionpaint.labelicons.ShapeLabelIcon
      extended by info.bioinfweb.treegraph.graphics.positionpaint.labelicons.RectangleIcon
All Implemented Interfaces:
LabelIcon

public class RectangleIcon
extends ShapeLabelIcon
implements LabelIcon

Since:
2.0.25
Author:
Ben Stöver

Constructor Summary
RectangleIcon()
           
 
Method Summary
 java.awt.Shape getShape(float x, float y, IconLabelFormats formats, float pixelsPerMillimeter)
           
 java.lang.String id()
           
 
Methods inherited from class info.bioinfweb.treegraph.graphics.positionpaint.labelicons.ShapeLabelIcon
paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.bioinfweb.treegraph.graphics.positionpaint.labelicons.LabelIcon
paint
 

Constructor Detail

RectangleIcon

public RectangleIcon()
Method Detail

getShape

public java.awt.Shape getShape(float x,
                               float y,
                               IconLabelFormats formats,
                               float pixelsPerMillimeter)
Specified by:
getShape in class ShapeLabelIcon

id

public java.lang.String id()
Specified by:
id in interface LabelIcon