public class DrawableTextCell extends PickableTexture
Modifier and Type | Field and Description |
---|---|
protected static Font |
DEFAULT_FONT |
id
alpha, axisValue, filter, mapping, orientation, planePosition, resource, texMatMix, textureScale
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
protected static BufferedImageTexture |
makeImage(int n,
String text) |
protected static List<Coord2d> |
makeMapping(Coord2d dim) |
void |
setCellRenderer(TextCellRenderer renderer) |
equals, getPickingId, hashCode, setPickingId, toString
after, applyGeometryTransform, before, debugMapping, draw, getBounds, getColorFilter, getDefaultTextureMapping, getManualTextureMapping, getManualTextureMapping, getPlanePosition, getResource, getTextureScale, initBoundsWithMapping, initBoundsWithResources, setAlphaFactor, setColorFilter, setPlanePosition, setResource, setTextureScale, updateBounds
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, vertexGL2, vertexGLES2
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setTransform
draw
protected static Font DEFAULT_FONT
public DrawableTextCell(TextCellRenderer renderer, Coord2d position, Coord2d dim)
public DrawableTextCell(BufferedImageTexture image, Coord2d position, Coord2d dim)
public DrawableTextCell(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter)
public void setCellRenderer(TextCellRenderer renderer)
protected static BufferedImageTexture makeImage(int n, String text)
Copyright © 2016. All rights reserved.