| java.lang.Object com.javujavu.javux.wings.text.TextPaneNode com.javujavu.javux.wings.text.BoxNode
All known Subclasses: com.javujavu.javux.wings.text.RootNode,
BoxNode | public class BoxNode extends TextPaneNode (Code) | | A class representing frame containing other text elements
in WingTextPane
This class is not thread safe
synchronization is provided by WingTextPane
|
Method Summary | |
public boolean | breaksRow() | public Rectangle | getCharBounds(int pos) | public String | getText(int start, int end) | public boolean | insert(int pos, TextPaneNode node) | protected void | insertNode(TextPaneNode node, int index) | protected void | invalidate() | public void | layout(LayoutContext lc) | public int | length() | public TextPaneNode | nodeAt(int pos, boolean prefTextNode) | public void | paint(Graphics g, int x, int y, int selectionStart, int selectionEnd, Style stSelected) | public int | posAtPoint(int x, int y) | public void | remove(int start, int end) | public void | replaceNode(TextPaneNode node, TextPaneNode[] r) |
alignment | protected int alignment(Code) | | |
length | protected int length(Code) | | |
BoxNode | public BoxNode(Style style, int alignment)(Code) | | |
breaksRow | public boolean breaksRow()(Code) | | |
invalidate | protected void invalidate()(Code) | | |
length | public int length()(Code) | | |
paint | public void paint(Graphics g, int x, int y, int selectionStart, int selectionEnd, Style stSelected)(Code) | | |
posAtPoint | public int posAtPoint(int x, int y)(Code) | | |
remove | public void remove(int start, int end)(Code) | | |
Methods inherited from com.javujavu.javux.wings.text.TextPaneNode | public boolean breaksRow()(Code)(Java Doc) abstract public Rectangle getCharBounds(int pos)(Code)(Java Doc) public WingFont getFont()(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public WingTextPane getOwner()(Code)(Java Doc) public Style getStyle()(Code)(Java Doc) public String getText(int start, int end)(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public boolean insert(int pos, TextPaneNode node)(Code)(Java Doc) protected void invalidate()(Code)(Java Doc) public void layout(LayoutContext lc)(Code)(Java Doc) public int length()(Code)(Java Doc) public static int nearestX(Rectangle r, int x)(Code)(Java Doc) public static int nearestY(Rectangle r, int y)(Code)(Java Doc) public TextPaneNode nodeAt(int pos, boolean prefTextNode)(Code)(Java Doc) abstract public void paint(Graphics g, int x, int y, int selectionStart, int selectionEnd, Style stSelected)(Code)(Java Doc) abstract public int posAtPoint(int x, int y)(Code)(Java Doc) public void remove(int start, int end)(Code)(Java Doc) public void replaceNode(TextPaneNode box, TextPaneNode[] r)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
|
|
|