jmathlib.core.graphics.axes.coreObjects
Class TextObject

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap
          extended by jmathlib.core.graphics.PropertySet
              extended by jmathlib.core.graphics.HandleObject
                  extended by jmathlib.core.graphics.GraphicalObject
                      extended by jmathlib.core.graphics.FigureObject
                          extended by jmathlib.core.graphics.axes.AxesObject
                              extended by jmathlib.core.graphics.axes.coreObjects.TextObject
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowListener, java.awt.print.Printable, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, java.util.Map, java.util.SortedMap, PropertyListener

public class TextObject
extends AxesObject

See Also:
Serialized Form

Nested Class Summary
(package private)  class TextObject.Content
           
(package private)  class TextObject.Element
           
(package private)  class TextObject.LineElement
           
(package private)  class TextObject.SimpleFactory
           
(package private)  class TextObject.SubscriptElement
           
(package private)  class TextObject.SuperscriptElement
           
 
Nested classes/interfaces inherited from class jmathlib.core.graphics.axes.AxesObject
AxesObject.AxesComponent
 
Field Summary
private  TextObject.Content content
           
private  java.awt.Font font
           
static int H_CENTER
           
static int H_LEFT
           
static int H_RIGHT
           
private  int hAlign
           
private  int rotation
           
static int V_BOTTOM
           
static int V_MIDDLE
           
static int V_TOP
           
private  int vAlign
           
 
Fields inherited from class jmathlib.core.graphics.axes.AxesObject
ActivePositionPropertyP, ALimModeP, ALimP, AmbientLightColorP, backBuffer, backEnabled, backGC, backSize, BoxP, CameraPositionModeP, CameraPositionP, CameraTargetModeP, CameraTargetP, CameraUpVectorModeP, CameraUpVectorP, CameraViewAngleModeP, CameraViewAngleP, ChildrenP, CLimModeP, CLimP, ColorOrderP, ColorP, component, CurrentPointP, DataAspectRatioModeP, DataAspectRatioP, DrawModeP, dxFrame, dyFrame, FontAngleP, FontNameP, FontSizeP, FontUnitsP, FontWeightP, GridLineStyleP, LayerP, LineWidthP, MinorGridLineStyleP, OuterPositionP, PlotBoxAspectRatioModeP, PlotBoxAspectRatioP, ProjectionP, TickDirModeP, TickDirP, TickLengthP, TightInsetP, title, TitleP, XAxisLocationP, XColorP, XDirP, XGridP, XGridStyleP, xLabel, XLimModeP, XLimP, XMinorGridP, XMinorTickP, XScaleP, XTickLabelModeP, XTickLabelP, XTickModeP, XTickP, YAxisLocationP, YColorP, YDirP, YGridP, YGridStyleP, yLabel, YLimModeP, YLimP, YMinorGridP, YMinorTickP, YScaleP, YTickLabelModeP, YTickLabelP, YTickModeP, YTickP, ZAxisLocationP, ZColorP, ZDirP, ZGridP, ZGridStyleP, zLabel, ZLimModeP, ZLimP, ZMinorGridP, ZMinorTickP, ZScaleP, ZTickLabelModeP, ZTickLabelP, ZTickModeP, ZTickP
 
Fields inherited from class jmathlib.core.graphics.FigureObject
AlphamapP, BeingDeletedP, CloseRequestFcnP, ColormapP, CreateFcnP, CurrentCharacterP, DeleteFcnP, DockControlsP, DoubleBufferP, FileNameP, FixedColorsP, IntegerHandleP, InvertHardcopyP, KeyPressFcnP, KeyReleaseFcnP, MenuBarP, MinColormapP, NameP, NextPlotP, NumberTitleP, PaperOrientationP, PaperPositionModeP, PaperPositionP, PaperSizeP, PaperTypeP, PaperUnitsP, PointerP, PointerShapeCDataP, PointerShapeHotSpotP, PositionP, RendererModeP, RendererP, ResizeFcnP, ResizeP, SelectionTypeP, ShareColorsP, ToolBarP, UnitsP, VisualModeP, WindowButtonDownFcnP, WindowButtonMotionFcnP, WindowButtonUpFcnP, WindowScrollWheelFcnP, WindowStyleP, WVisualModeP
 
Fields inherited from class jmathlib.core.graphics.GraphicalObject
ax_xmax, ax_xmin, ax_ymax, ax_ymin, ax_zmax, ax_zmin, BusyActionP, ButtonDownFcnP, ClippingP, DiaryFileP, DiaryP, EchoP, ErrorMessageP, FormatSpacingP, HandleVisibilityP, height, HitTestP, InterruptibleP, LanguageP, mat, parent, SelectedP, SelectionHighlightP, ShowHiddenHandlesP, TagP, TypeP, VisibileP, width, xmax, xmin, xOrig, ymax, ymin, yOrig, zmax, zmin, zOrig
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
TextObject(java.lang.String txt)
           
TextObject(java.lang.String txt, int hAlign, int vAlign)
           
 
Method Summary
 void paint(java.awt.Graphics g)
           
 void setAlign(int hAlign, int vAlign)
           
 void setRotation(int angle)
           
 
Methods inherited from class jmathlib.core.graphics.axes.AxesObject
addLine, addLine, addLines, autoScale, autoScaleX, autoScaleY, autoScaleZ, autoTick, autoTickLabel, autoTickLabelX, autoTickLabelY, autoTickLabelZ, autoTickX, autoTickY, autoTickZ, clearAxes, flushBackBuffer, getComponent, getMinimumSize, getSize, initBackBuffer, propertyChanged, repaint, setBackBuffer, setHold, setTitle, setXLabel, setYLabel, setZLabel
 
Methods inherited from class jmathlib.core.graphics.FigureObject
actionPerformed, clearFigure, close, close, convertCurrentAxesTo3DAxes, getCurrentAxes, getCurrentPolarAxes, getFigureNumber, print, setGraphicsManager, setSubPlot, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class jmathlib.core.graphics.GraphicalObject
getXMax, getXMin, getYMax, getYMin, getZMax, getZMin, setAxesBoundaries, setAxesBoundaries, setParent, setPlotArea
 
Methods inherited from class jmathlib.core.graphics.HandleObject
addProperty, finalize, get, getHandle, getHandleObject, getProperty, removeHandleObject, set, show
 
Methods inherited from class jmathlib.core.graphics.PropertySet
show
 
Methods inherited from class java.util.TreeMap
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Field Detail

H_LEFT

public static final int H_LEFT
See Also:
Constant Field Values

H_CENTER

public static final int H_CENTER
See Also:
Constant Field Values

H_RIGHT

public static final int H_RIGHT
See Also:
Constant Field Values

V_TOP

public static final int V_TOP
See Also:
Constant Field Values

V_MIDDLE

public static final int V_MIDDLE
See Also:
Constant Field Values

V_BOTTOM

public static final int V_BOTTOM
See Also:
Constant Field Values

hAlign

private int hAlign

vAlign

private int vAlign

font

private java.awt.Font font

content

private TextObject.Content content

rotation

private int rotation
Constructor Detail

TextObject

public TextObject(java.lang.String txt)

TextObject

public TextObject(java.lang.String txt,
                  int hAlign,
                  int vAlign)
Method Detail

setAlign

public void setAlign(int hAlign,
                     int vAlign)

setRotation

public void setRotation(int angle)

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class AxesObject

FOOTER

BOTTOM