| javax.swing.plaf.basic.BasicTextPaneUI org.underworldlabs.swing.plaf.base.CustomTextPaneUI
CustomTextPaneUI | public class CustomTextPaneUI extends BasicTextPaneUI (Code) | | author: Takis Diakoumis version: $Revision: 1.4 $ |
createHighlighter | protected Highlighter createHighlighter()(Code) | | Creates the object to use for adding highlights. This will
be a non-layered version of DefaultHighlighter, so that
multi-line selections will be painted properly.
the highlighter |
createUI | public static ComponentUI createUI(JComponent c)(Code) | | Creates a UI for a JTextPane.
Parameters: c - a text area a CustomTextAreaUI instance |
damageRange | public void damageRange(JTextComponent t, int p0, int p1, Position.Bias p0Bias, Position.Bias p1Bias)(Code) | | Causes the portion of the view responsible for the given part
of the model to be repainted. This is overridden to repaint the
whole width of the textarea, so that selection highlighting will
be rendered properly.
Parameters: p0 - the beginning of the range >= 0 Parameters: p1 - the end of the range >= p0 |
initialize | public static void initialize()(Code) | | Informs the UIManager that this class should be used as the UI
delegate for JTextArea's. This method should be called during
app initialization, before any components are created.
|
|
|