|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.skin.TextAreaSkin.NodeView
public abstract class TextAreaSkin.NodeView
Abstract base class for node views.
Constructor Summary | |
---|---|
TextAreaSkin.NodeView(Node node)
|
Method Summary | |
---|---|
protected void |
attach()
|
protected void |
detach()
|
int |
getBaseline()
Returns the visual's baseline. |
Bounds |
getBounds()
|
int |
getBreakWidth()
|
abstract Bounds |
getCharacterBounds(int offset)
|
int |
getCharacterCount()
|
int |
getDocumentOffset()
|
int |
getHeight()
Returns the visual's height. |
abstract int |
getInsertionPoint(int x,
int y)
|
Point |
getLocation()
|
abstract TextAreaSkin.NodeView |
getNext()
|
abstract int |
getNextInsertionPoint(int x,
int from,
Direction direction)
|
Node |
getNode()
|
int |
getOffset()
|
TextAreaSkin.ElementView |
getParent()
|
abstract int |
getRowCount()
|
abstract int |
getRowIndex(int offset)
|
Dimensions |
getSize()
|
int |
getWidth()
Returns the visual's width. |
int |
getX()
|
int |
getY()
|
void |
invalidate()
|
boolean |
isValid()
|
void |
offsetChanged(Node node,
int previousOffset)
Called when a node's offset has changed within it's parent element. |
void |
parentChanged(Node node,
Element previousParent)
Called when a node's parent has changed, either as a result of being added to or removed from an element. |
void |
rangeInserted(Node node,
int offset,
int span)
Called when a range has been inserted into a node. |
void |
rangeRemoved(Node node,
int offset,
int span)
Called when a range has been removed from a node. |
void |
repaint()
|
void |
repaint(int x,
int y,
int width,
int height)
|
void |
setBreakWidth(int breakWidth)
|
protected void |
setLocation(int x,
int y)
|
protected void |
setParent(TextAreaSkin.ElementView parent)
|
protected void |
setSize(int width,
int height)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.pivot.wtk.Visual |
---|
paint |
Constructor Detail |
---|
public TextAreaSkin.NodeView(Node node)
Method Detail |
---|
public Node getNode()
public TextAreaSkin.ElementView getParent()
protected void setParent(TextAreaSkin.ElementView parent)
protected void attach()
protected void detach()
public int getWidth()
Visual
getWidth
in interface Visual
public int getHeight()
Visual
getHeight
in interface Visual
public int getBaseline()
Visual
getBaseline
in interface Visual
public Dimensions getSize()
protected void setSize(int width, int height)
public int getX()
public int getY()
public Point getLocation()
protected void setLocation(int x, int y)
public Bounds getBounds()
public void repaint()
public void repaint(int x, int y, int width, int height)
public boolean isValid()
public void invalidate()
public void validate()
public int getBreakWidth()
public void setBreakWidth(int breakWidth)
public int getOffset()
public int getDocumentOffset()
public int getCharacterCount()
public abstract TextAreaSkin.NodeView getNext()
public abstract int getInsertionPoint(int x, int y)
public abstract int getNextInsertionPoint(int x, int from, Direction direction)
public abstract int getRowIndex(int offset)
public abstract int getRowCount()
public abstract Bounds getCharacterBounds(int offset)
public void parentChanged(Node node, Element previousParent)
NodeListener
parentChanged
in interface NodeListener
public void offsetChanged(Node node, int previousOffset)
NodeListener
offsetChanged
in interface NodeListener
public void rangeInserted(Node node, int offset, int span)
NodeListener
rangeInserted
in interface NodeListener
public void rangeRemoved(Node node, int offset, int span)
NodeListener
rangeRemoved
in interface NodeListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |