| javax.swing.JTextPane org.skunk.swing.text.TextEditorPane
TextEditorPane | public class TextEditorPane extends JTextPane (Code) | | trivial subclass of JTextPane that supports turning off word wrap.
It will be extended to support other functionality when syntax
highlighting is added.
|
TextEditorPane | public TextEditorPane()(Code) | | constructs a TextEditorPane with a default document.
|
TextEditorPane | public TextEditorPane(StyledDocument doc)(Code) | | constructs a TextEditorPane with the specified document.
Parameters: doc - the document |
getScrollableTracksViewportWidth | public boolean getScrollableTracksViewportWidth()(Code) | | |
getWordWrap | public boolean getWordWrap()(Code) | | returns whether the editor wraps text.
the value of the word wrap property |
setBounds | public void setBounds(int x, int y, int width, int height)(Code) | | |
setWordWrap | public void setWordWrap(boolean wrap)(Code) | | sets word wrap on or off.
Parameters: wrap - whether the text editor pane should wrap or not |
|
|