org.jzy3d.plot3d.text.drawable.cells
Class DrawableTextCell

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.textured.DrawableTexture
          extended by org.jzy3d.plot3d.primitives.pickable.PickableTexture
              extended by org.jzy3d.plot3d.text.drawable.cells.DrawableTextCell
All Implemented Interfaces:
IGLRenderer, ISortableDraw, Pickable, ITranslucent

public class DrawableTextCell
extends PickableTexture


Field Summary
protected static Font DEFAULT_FONT
           
 
Fields inherited from class org.jzy3d.plot3d.primitives.pickable.PickableTexture
id
 
Fields inherited from class org.jzy3d.plot3d.primitives.textured.DrawableTexture
alpha, axisValue, filter, mapping, orientation, planePosition, resource, texMatMix, textureScale
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
bbox, displayed, hasListeners, legend, legendDisplayed, listeners, transform
 
Constructor Summary
DrawableTextCell(BufferedImageTexture image, Coord2d position, Coord2d dim)
           
DrawableTextCell(int n, String text, Coord2d position, Coord2d dim)
           
DrawableTextCell(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter)
           
DrawableTextCell(TextCellRenderer renderer, Coord2d position, Coord2d dim)
           
 
Method Summary
protected static BufferedImageTexture makeImage(int n, String text)
           
protected static List<Coord2d> makeMapping(Coord2d dim)
           
 void setCellRenderer(TextCellRenderer renderer)
           
 
Methods inherited from class org.jzy3d.plot3d.primitives.pickable.PickableTexture
equals, getPickingId, hashCode, setPickingId, toString
 
Methods inherited from class org.jzy3d.plot3d.primitives.textured.DrawableTexture
after, before, debugMapping, draw, getBounds, getColorFilter, getDefaultTextureMapping, getManualTextureMapping, getManualTextureMapping, getPlanePosition, getResource, getTextureScale, initBoundsWithMapping, initBoundsWithResources, setAlphaFactor, setColorFilter, setPlanePosition, setResource, setTextureScale
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, call, call, callWithAlphaFactor, dispose, fireDrawableChanged, fireDrawableChanged, getBarycentre, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jzy3d.plot3d.primitives.pickable.Pickable
setTransform
 
Methods inherited from interface org.jzy3d.plot3d.primitives.IGLRenderer
draw
 

Field Detail

DEFAULT_FONT

protected static Font DEFAULT_FONT
Constructor Detail

DrawableTextCell

public DrawableTextCell(int n,
                        String text,
                        Coord2d position,
                        Coord2d dim)

DrawableTextCell

public DrawableTextCell(TextCellRenderer renderer,
                        Coord2d position,
                        Coord2d dim)

DrawableTextCell

public DrawableTextCell(BufferedImageTexture image,
                        Coord2d position,
                        Coord2d dim)

DrawableTextCell

public DrawableTextCell(SharedTexture resource,
                        PlaneAxis orientation,
                        float axisValue,
                        List<Coord2d> coords,
                        Color filter)
Method Detail

setCellRenderer

public void setCellRenderer(TextCellRenderer renderer)

makeImage

protected static BufferedImageTexture makeImage(int n,
                                                String text)

makeMapping

protected static List<Coord2d> makeMapping(Coord2d dim)