pivot.wtk.skin
Class TextAreaSkin.ImageNodeView
java.lang.Object
pivot.wtk.skin.TextAreaSkin.NodeView
pivot.wtk.skin.TextAreaSkin.ImageNodeView
- All Implemented Interfaces:
- ImageNodeListener, NodeListener, Visual
- Enclosing class:
- TextAreaSkin
public class TextAreaSkin.ImageNodeView
- extends TextAreaSkin.NodeView
- implements ImageNodeListener
Methods inherited from class pivot.wtk.skin.TextAreaSkin.NodeView |
getBounds, getBounds, getBreakWidth, getHeight, getHeight, getLocation, getNode, getParent, getSize, getSize, getWidth, getX, getY, invalidate, isValid, offsetChanged, parentChanged, rangeInserted, rangeRemoved, repaint, repaint, setBreakWidth, setLocation, setParent, setSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextAreaSkin.ImageNodeView
public TextAreaSkin.ImageNodeView(ImageNode imageNode)
attach
protected void attach()
- Overrides:
attach
in class TextAreaSkin.NodeView
detach
protected void detach()
- Overrides:
detach
in class TextAreaSkin.NodeView
validate
public void validate()
- Overrides:
validate
in class TextAreaSkin.NodeView
paint
public void paint(Graphics2D graphics)
- Description copied from interface:
Visual
- Paints the visual.
- Specified by:
paint
in interface Visual
- Parameters:
graphics
- The graphics context in which to paint the visual.
getOffset
public int getOffset()
- Specified by:
getOffset
in class TextAreaSkin.NodeView
getNext
public TextAreaSkin.NodeView getNext()
- Specified by:
getNext
in class TextAreaSkin.NodeView
getCharacterAt
public int getCharacterAt(int x,
int y)
- Specified by:
getCharacterAt
in class TextAreaSkin.NodeView
getCharacterBounds
public Bounds getCharacterBounds(int offset)
- Specified by:
getCharacterBounds
in class TextAreaSkin.NodeView
imageChanged
public void imageChanged(ImageNode imageNode,
Image previousImage)
- Specified by:
imageChanged
in interface ImageNodeListener