public class QuaquaEditorPaneUI extends javax.swing.plaf.basic.BasicEditorPaneUI implements VisuallyLayoutable
CLIP_BOUNDS, COMPONENT_BOUNDS, TEXT_BOUNDS| Constructor and Description |
|---|
QuaquaEditorPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.text.Caret |
createCaret() |
protected javax.swing.text.Highlighter |
createHighlighter() |
protected java.awt.event.MouseListener |
createPopupListener() |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent jcomponent) |
int |
getBaseline(javax.swing.JComponent c,
int width,
int height)
Returns the baseline for the specified component, or -1 if the
baseline can not be determined.
|
java.awt.Rectangle |
getVisualBounds(javax.swing.JComponent c,
int type,
int width,
int height)
Returns the visual bounds for the specified component, or null if the
visual bounds can not be determined.
|
java.awt.Insets |
getVisualMargin(javax.swing.text.JTextComponent tc) |
protected void |
installDefaults() |
protected void |
installListeners() |
protected void |
paintSafely(java.awt.Graphics g) |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
getEditorKit, getPropertyPrefix, installUI, propertyChange, uninstallUIcreate, create, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, modelChanged, modelToView, modelToView, paint, paintBackground, setView, uninstallKeyboardActions, update, viewToModel, viewToModelpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent jcomponent)
protected void installListeners()
installListeners in class javax.swing.plaf.basic.BasicTextUIprotected void uninstallListeners()
uninstallListeners in class javax.swing.plaf.basic.BasicTextUIprotected java.awt.event.MouseListener createPopupListener()
protected void installDefaults()
installDefaults in class javax.swing.plaf.basic.BasicTextUIprotected void uninstallDefaults()
uninstallDefaults in class javax.swing.plaf.basic.BasicTextUIprotected void paintSafely(java.awt.Graphics g)
paintSafely in class javax.swing.plaf.basic.BasicTextUIprotected javax.swing.text.Caret createCaret()
createCaret in class javax.swing.plaf.basic.BasicTextUIprotected javax.swing.text.Highlighter createHighlighter()
createHighlighter in class javax.swing.plaf.basic.BasicTextUIpublic java.awt.Insets getVisualMargin(javax.swing.text.JTextComponent tc)
public int getBaseline(javax.swing.JComponent c,
int width,
int height)
VisuallyLayoutablegetBaseline in interface VisuallyLayoutablegetBaseline in class javax.swing.plaf.ComponentUIc - JComponent to calculate baseline forwidth - Width of the component to determine baseline for.height - Height of the component to determine baseline for.public java.awt.Rectangle getVisualBounds(javax.swing.JComponent c,
int type,
int width,
int height)
VisuallyLayoutablegetVisualBounds in interface VisuallyLayoutablec - JComponent to calculate visual margin fortype - The type of the visual margin.width - Width of the componentheight - Height of the component