infovis.visualization.render
Class VisualStrokingLabel

java.lang.Object
  extended by infovis.visualization.render.AbstractItemRenderer
      extended by infovis.visualization.render.AbstractVisualColumn
          extended by infovis.visualization.render.VisualLabel
              extended by infovis.visualization.render.DefaultVisualLabel
                  extended by infovis.visualization.render.VisualStrokingLabel
All Implemented Interfaces:
ColumnFilter, ItemRenderer, Orientable, VisualColumnDescriptor, Cloneable, SwingConstants

public class VisualStrokingLabel
extends DefaultVisualLabel

Class VisualStrokingLabel

Version:
$Revision: 1.7 $
Author:
Jean-Daniel Fekete

Field Summary
 
Fields inherited from class infovis.visualization.render.DefaultVisualLabel
DEFAULT_LABEL_COLUMN_NAMES
 
Fields inherited from class infovis.visualization.render.VisualLabel
VISUAL
 
Fields inherited from interface infovis.visualization.Orientable
DIRECTION, NAME, ORIENTATION_CENTER, ORIENTATION_EAST, ORIENTATION_INVALID, ORIENTATION_NORTH, ORIENTATION_SOUTH, ORIENTATION_WEST, SQRT2
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
VisualStrokingLabel(ItemRenderer child)
           
VisualStrokingLabel(ItemRenderer child, boolean showingLabel)
           
 
Method Summary
 boolean isClipped()
          Returns true if the label is clipped by the item shape.
 void paint(Graphics2D graphics, int row, Shape s)
          
 
Methods inherited from class infovis.visualization.render.DefaultVisualLabel
findDefaultLabelColumn, findDefaultLabelColumn, getHeight, getJustification, getLabelClipper, getOrientation, getWidth, isOutlined, isShowingLabel, setClipped, setJustification, setLabelClipper, setOrientation, setOutlined, setShowingLabel
 
Methods inherited from class infovis.visualization.render.VisualLabel
get, get, getColumn, getDefaultColor, getFont, getLabelAt, getLabelAt, setColumn, setDefaultColor, setFont
 
Methods inherited from class infovis.visualization.render.AbstractVisualColumn
contrastColor, contrastColor, filter, getFilter, invalidate, isInvalidate, setFilter, setInvalidate
 
Methods inherited from class infovis.visualization.render.AbstractItemRenderer
addRenderer, compile, compileGroup, findNamed, findNamed, getName, getRenderer, getRendererCount, getVisualization, indexOf, insertAfterNamed, insertBeforeNamed, insertRenderer, install, instantiate, invalidate, isPrototype, pick, removeNamed, removeRenderer, repaint, replaceNamed, replaceNamed, setRenderer, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface infovis.visualization.VisualColumnDescriptor
getName
 

Constructor Detail

VisualStrokingLabel

public VisualStrokingLabel(ItemRenderer child,
                           boolean showingLabel)

VisualStrokingLabel

public VisualStrokingLabel(ItemRenderer child)
Method Detail

isClipped

public boolean isClipped()
Description copied from class: DefaultVisualLabel
Returns true if the label is clipped by the item shape.

Overrides:
isClipped in class DefaultVisualLabel
Returns:
true if the label is clipped by the item shape

paint

public void paint(Graphics2D graphics,
                  int row,
                  Shape s)
Description copied from class: DefaultVisualLabel

Specified by:
paint in interface ItemRenderer
Overrides:
paint in class DefaultVisualLabel


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.