y.view
Interface YLabel.Painter

All Known Implementing Classes:
DefaultLabelConfiguration
Enclosing class:
YLabel

public static interface YLabel.Painter

The interface that is used by a specific label configuration that performs the painting.

See Also:
YLabel.paint(java.awt.Graphics2D), YLabel.paintContent(java.awt.Graphics2D, double, double, double, double), YLabel.paintBox(java.awt.Graphics2D, double, double, double, double), YLabel.getTextLocation(), YLabel.getIconLocation()
 

Method Summary
 YPoint getIconLocation(YLabel label)
          Delegating method of YLabel.getIconLocation()
 YPoint getTextLocation(YLabel label)
          Delegating method of YLabel.getTextLocation()
 void paint(YLabel label, Graphics2D gfx)
          Delegating method of YLabel.paint(java.awt.Graphics2D)
 void paintBox(YLabel label, Graphics2D gfx, double x, double y, double width, double height)
          Delegating method of YLabel.paintBox(java.awt.Graphics2D, double, double, double, double)
 void paintContent(YLabel label, Graphics2D gfx, double x, double y, double width, double height)
          Delegating method of YLabel.paintContent(java.awt.Graphics2D, double, double, double, double)
 

Method Detail

paint

void paint(YLabel label,
           Graphics2D gfx)
Delegating method of YLabel.paint(java.awt.Graphics2D)

Parameters:
label - the label context

paintContent

void paintContent(YLabel label,
                  Graphics2D gfx,
                  double x,
                  double y,
                  double width,
                  double height)
Delegating method of YLabel.paintContent(java.awt.Graphics2D, double, double, double, double)

Parameters:
label - the label context

paintBox

void paintBox(YLabel label,
              Graphics2D gfx,
              double x,
              double y,
              double width,
              double height)
Delegating method of YLabel.paintBox(java.awt.Graphics2D, double, double, double, double)

Parameters:
label - the label context

getTextLocation

YPoint getTextLocation(YLabel label)
Delegating method of YLabel.getTextLocation()

Parameters:
label - the label context

getIconLocation

YPoint getIconLocation(YLabel label)
Delegating method of YLabel.getIconLocation()

Parameters:
label - the label context

© Copyright 2000-2008,
yWorks GmbH.
All rights reserved.