| com.javujavu.javux.wings.WingComponent com.javujavu.javux.wings.WingTextPane
WingTextPane | public class WingTextPane extends WingComponent (Code) | | This class provide a multi-line region
that displays and allows editing text.
This class is thread safe.
|
Constructor Summary | |
public | WingTextPane() NOTICE: This component will evolve to WingHtmlPane and WingTextArea. |
Method Summary | |
public void | append(String text) | public void | append(String text, Style style) | public void | append(TextPaneNode node) | public void | copy() | public void | cut() | public void | doLayout() | public synchronized Rectangle | getCharRect(int pos) | public Dimension | getPreferredSize() | public void | getScrollIncrements(Point unit, Point block) | public synchronized String | getSelectedText() | public Style | getStyle() | public synchronized String | getText(int start, int end) | public synchronized String | getText() | public synchronized void | insert(int pos, String text) | public synchronized void | insert(int pos, String text, Style style) | public synchronized void | insert(int pos, TextPaneNode node) | public int | length() | public void | loadSkin() | public void | paste() | public synchronized int | posAtPoint(int x, int y) | protected void | processFocusEvent(FocusEvent e) | public synchronized void | remove(int start, int end) | public synchronized void | replaceSelection(String text) | public synchronized void | replaceSelection(String text, Style style) | public synchronized void | replaceSelection(TextPaneNode node) | public void | scrollToCaret() | public synchronized void | select(int start, int end) | public synchronized void | selectAll() | public void | setCaretPosition(int pos) | public void | setEditable(boolean editable) | public void | setText(String text) | public synchronized void | setText(String text, Style style) | public void | setWrap(int wrap) | public synchronized void | wingPaint(Graphics g) | public void | wingProcessActionEvent(ActionEvent e) | protected void | wingProcessKeyEvent(KeyEvent e, WingComponent redirecting) | protected void | wingProcessMouseEvent(MouseEvent e) |
TAB_WIDTH | final public static int TAB_WIDTH(Code) | | |
caretWidth | protected int caretWidth(Code) | | |
WingTextPane | public WingTextPane()(Code) | | NOTICE: This component will evolve to WingHtmlPane and WingTextArea.
|
doLayout | public void doLayout()(Code) | |
This method acquire TreeLock
|
getScrollIncrements | public void getScrollIncrements(Point unit, Point block)(Code) | | |
getSelectedText | public synchronized String getSelectedText()(Code) | | |
getText | public synchronized String getText(int start, int end)(Code) | | |
insert | public synchronized void insert(int pos, String text)(Code) | | |
insert | public synchronized void insert(int pos, String text, Style style)(Code) | | Parameters: pos - if negative pos => pos= length()+1+posinsert(-1,...) equals to append(...) Parameters: text - Parameters: style - |
length | public int length()(Code) | | |
loadSkin | public void loadSkin()(Code) | | |
paste | public void paste()(Code) | | |
posAtPoint | public synchronized int posAtPoint(int x, int y)(Code) | | |
remove | public synchronized void remove(int start, int end)(Code) | | |
replaceSelection | public synchronized void replaceSelection(String text)(Code) | | |
replaceSelection | public synchronized void replaceSelection(String text, Style style)(Code) | | |
scrollToCaret | public void scrollToCaret()(Code) | |
This method acquire TreeLock
|
select | public synchronized void select(int start, int end)(Code) | | |
selectAll | public synchronized void selectAll()(Code) | | |
setCaretPosition | public void setCaretPosition(int pos)(Code) | |
This method acquire TreeLock
|
setEditable | public void setEditable(boolean editable)(Code) | | |
setWrap | public void setWrap(int wrap)(Code) | | |
wingProcessMouseEvent | protected void wingProcessMouseEvent(MouseEvent e)(Code) | |
This method acquire TreeLock
|
Methods inherited from com.javujavu.javux.wings.WingComponent | public void addActionListener(ActionListener l)(Code)(Java Doc) public void addItemListener(ItemListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addShortcut(Shortcut s)(Code)(Java Doc) public void addShortcuts(WingComponent source)(Code)(Java Doc) protected void cancelPopup(WingComponent src)(Code)(Java Doc) protected static void clrPopup(WingComponent popup)(Code)(Java Doc) protected void dispatchEventOET(AWTEvent e)(Code)(Java Doc) protected boolean dispatchEventsOET()(Code)(Java Doc) protected void dispatchShortcuts(KeyEvent e)(Code)(Java Doc) protected void doScrollRectToVisible(Rectangle r)(Code)(Java Doc) public static void enablePopups(boolean enableLightweightPopups, boolean enableHeavyweightPopups)(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public String getClipboardText()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Frame getParentFrame()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public ItemRenderer getRenderer()(Code)(Java Doc) public WingRootPane getRootPane()(Code)(Java Doc) public void getScrollIncrements(Point unit, Point block)(Code)(Java Doc) public Style getStyle()(Code)(Java Doc) public Object getTooltipAt(int x, int y)(Code)(Java Doc) public Dimension getViewOrSize()(Code)(Java Doc) public Dimension getViewSize()(Code)(Java Doc) protected Dimension getViewSize(WingComponent child)(Code)(Java Doc) public WingFont getWingFont()(Code)(Java Doc) protected void hideTooltip()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public void loadSkin()(Code)(Java Doc) public void mouseWheelMoved(Object source, int wheelRotation)(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintBackground(Graphics g)(Code)(Java Doc) public void paintComponent(Graphics g)(Code)(Java Doc) public void postOnEventThread(AWTEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) public void removeActionListener(ActionListener l)(Code)(Java Doc) public void removeItemListener(ItemListener l)(Code)(Java Doc) public void removeShortcut(Shortcut s)(Code)(Java Doc) public void removeShortcuts(WingComponent source)(Code)(Java Doc) public void repaintVisible()(Code)(Java Doc) public boolean repaintVisible(int x, int y, int width, int height)(Code)(Java Doc) public void revalidateAndRepaint()(Code)(Java Doc) public void scrollRectToVisible(Rectangle r)(Code)(Java Doc) public void setClipboardText(String text)(Code)(Java Doc) public static void setDebugDelay(int debugDelay)(Code)(Java Doc) public static void setDoubleBuffering(boolean doubleBuffering)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) protected static void setPopup(WingComponent popup)(Code)(Java Doc) public void setPreferredSize(Dimension prefSize)(Code)(Java Doc) public void setRenderer(ItemRenderer renderer)(Code)(Java Doc) public void setStyleId(String styleId)(Code)(Java Doc) public void setTooltip(Object tooltip)(Code)(Java Doc) public void setTopStyle(Style topStyle)(Code)(Java Doc) public void setWingFocusable(boolean focusable)(Code)(Java Doc) protected void showTooltip(Point point)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) protected void updateShortcuts(WingComponent target, boolean add)(Code)(Java Doc) public static void updateSkin(Container c)(Code)(Java Doc) protected void validateTree()(Code)(Java Doc) public void wingHierarchyChanged(boolean showing)(Code)(Java Doc) public void wingPaint(Graphics g)(Code)(Java Doc) protected void wingProcessActionEvent(ActionEvent e)(Code)(Java Doc) protected void wingProcessItemEvent(ItemEvent e)(Code)(Java Doc) protected void wingProcessKeyEvent(KeyEvent e, WingComponent redirecting)(Code)(Java Doc) protected void wingProcessMouseEvent(MouseEvent e)(Code)(Java Doc) public void wingRequestFocusInWindow()(Code)(Java Doc) protected void wingValidate()(Code)(Java Doc)
|
|
|