lt.monarch.chart.marker
Class LabeledMarkerConstraints

java.lang.Object
  extended by lt.monarch.chart.engine.MarkerConstraints
      extended by lt.monarch.chart.marker.LabeledMarkerConstraints

public class LabeledMarkerConstraints
extends MarkerConstraints

LabeledMarkerConstraints class is used for setting labeled markers bounds.


Constructor Summary
Constructor and Description
LabeledMarkerConstraints()
          Default constructor.
 
Method Summary
Modifier and Type Method and Description
 void applyTo(Marker marker, Projector projector)
          Applies set values to given marker.
 Rectangle2D getLabelBounds()
          Returns label bounds.
 void setLabelBounds(Rectangle2D bounds)
          Sets label bounds.
 
Methods inherited from class lt.monarch.chart.engine.MarkerConstraints
getEntity, getLocation, setEntity, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabeledMarkerConstraints

public LabeledMarkerConstraints()
Default constructor.

Method Detail

applyTo

public void applyTo(Marker marker,
                    Projector projector)
Description copied from class: MarkerConstraints
Applies set values to given marker.

Overrides:
applyTo in class MarkerConstraints
Parameters:
marker - Marker
projector - Projector, that is used to set marker's location.

getLabelBounds

public Rectangle2D getLabelBounds()
Returns label bounds.

Returns:
AbstractLabel bounds

setLabelBounds

public void setLabelBounds(Rectangle2D bounds)
Sets label bounds.

Parameters:
bounds - AbstractLabel bounds.