Class DrawableTextCell
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.DrawableImage
-
- org.jzy3d.plot3d.primitives.textured.NativeDrawableImage
-
- org.jzy3d.plot3d.primitives.pickable.PickableTexture
-
- org.jzy3d.plot3d.text.drawable.cells.DrawableTextCell
-
- All Implemented Interfaces:
IGLRenderer
,ISortableDraw
,Pickable
,ITranslucent
public class DrawableTextCell extends PickableTexture
-
-
Field Summary
Fields Modifier and Type Field Description 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.NativeDrawableImage
alpha, axisValue, filter, mapping, orientation, planePosition, resource, texMatMix, textureScale
-
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
-
Constructor Summary
Constructors Constructor Description DrawableTextCell(int n, String text, Coord2d position, Coord2d dim)
DrawableTextCell(BufferedImageTexture image, 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.NativeDrawableImage
after, applyGeometryTransform, before, debugMapping, draw, getBounds, getColorFilter, getDefaultTextureMapping, getManualTextureMapping, getManualTextureMapping, getPlanePosition, getResource, getTextureScale, initBoundsWithMapping, initBoundsWithResources, setAlphaFactor, setColorFilter, setPlanePosition, setResource, setTextureScale, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doDrawBoundsIfDisplayed, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jzy3d.plot3d.primitives.IGLRenderer
draw
-
Methods inherited from interface org.jzy3d.plot3d.primitives.pickable.Pickable
setTransform
-
-
-
-
Field Detail
-
DEFAULT_FONT
protected static Font DEFAULT_FONT
-
-
Constructor Detail
-
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)
-
-