|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.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()
|
Bounds |
getBounds()
|
Bounds |
getBounds(boolean validate)
|
int |
getBreakWidth()
|
abstract int |
getCharacterAt(int x,
int y)
|
abstract Bounds |
getCharacterBounds(int offset)
|
int |
getHeight()
Returns the visual's height. |
int |
getHeight(boolean validate)
|
Point |
getLocation()
|
abstract TextAreaSkin.NodeView |
getNext()
|
Node |
getNode()
|
abstract int |
getOffset()
|
TextAreaSkin.ElementView |
getParent()
|
Dimensions |
getSize()
|
Dimensions |
getSize(boolean validate)
|
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 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 getHeight(boolean validate)
public Dimensions getSize()
public Dimensions getSize(boolean validate)
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 Bounds getBounds(boolean validate)
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 abstract int getOffset()
public abstract TextAreaSkin.NodeView getNext()
public abstract int getCharacterAt(int x, int y)
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 |