org.apache.batik.gvt
Interface TextNode

All Superinterfaces:
GraphicsNode, LeafGraphicsNode
All Known Implementing Classes:
ConcreteTextNode

public interface TextNode
extends LeafGraphicsNode

A graphics node that represents text.


Inner Class Summary
static class TextNode.Anchor
          Defines where the text of a TextNode can be anchored relative to its location.
 
Fields inherited from interface org.apache.batik.gvt.GraphicsNode
KEY_AREA_OF_INTEREST
 
Method Summary
 TextNode.Anchor getAnchor()
          Returns the anchor of this text node.
 java.text.AttributedCharacterIterator getAttributedCharacterIterator()
          Returns the attributed character iterator of this text node.
 java.awt.geom.Point2D getLocation()
          Returns the location of this raster image node.
 void setAnchor(TextNode.Anchor newAnchor)
          Sets the anchor of this text node.
 void setAttributedCharacterIterator(java.text.AttributedCharacterIterator newAci)
          Sets the attributed character iterator of this text node.
 void setLocation(java.awt.geom.Point2D newLocation)
          Sets the location of this raster image node.
 
Methods inherited from interface org.apache.batik.gvt.GraphicsNode
addGraphicsNodeKeyListener, addGraphicsNodeMouseListener, addPropertyChangeListener, addPropertyChangeListener, contains, dispatch, getBounds, getClip, getComposite, getCursor, getFilter, getGeometryBounds, getGlobalTransform, getGraphicsNodeEventFilter, getGraphicsNodeHitDetector, getListeners, getMask, getMemento, getOutline, getParent, getPrimitiveBounds, getRenderingHints, getRoot, getTransform, hasProgressivePaint, intersects, isVisible, nodeHitAt, paint, primitivePaint, processKeyEvent, processMouseEvent, progressivePaint, putMemento, removeGraphicsNodeKeyListener, removeGraphicsNodeMouseListener, removeMemento, removePropertyChangeListener, setClip, setComposite, setCursor, setFilter, setGraphicsNodeEventFilter, setGraphicsNodeHitDetector, setMask, setRenderingHint, setRenderingHints, setRenderingHints, setTransform, setVisible
 

Method Detail

setLocation

public void setLocation(java.awt.geom.Point2D newLocation)
Sets the location of this raster image node.
Parameters:
newLocation - the new location of this raster image node

getLocation

public java.awt.geom.Point2D getLocation()
Returns the location of this raster image node.
Returns:
the location of this raster image node

setAttributedCharacterIterator

public void setAttributedCharacterIterator(java.text.AttributedCharacterIterator newAci)
Sets the attributed character iterator of this text node.
Parameters:
newAci - the new attributed character iterator

getAttributedCharacterIterator

public java.text.AttributedCharacterIterator getAttributedCharacterIterator()
Returns the attributed character iterator of this text node.
Returns:
the attributed character iterator

setAnchor

public void setAnchor(TextNode.Anchor newAnchor)
Sets the anchor of this text node.
Parameters:
newAnchor - the new anchor of this text node

getAnchor

public TextNode.Anchor getAnchor()
Returns the anchor of this text node.
Returns:
the anchor of this node


Copyright © 2000 Apache Software Foundation. All Rights Reserved.