org.jdesktop.swingx.plaf
Class ContextMenuAuxTextUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
org.jdesktop.swingx.plaf.ContextMenuAuxTextUI
public class ContextMenuAuxTextUI
- extends TextUI
Method Summary |
static ComponentUI |
createUI(JComponent c)
|
void |
damageRange(JTextComponent t,
int p0,
int p1)
|
void |
damageRange(JTextComponent t,
int p0,
int p1,
Position.Bias firstBias,
Position.Bias secondBias)
|
EditorKit |
getEditorKit(JTextComponent t)
|
int |
getNextVisualPositionFrom(JTextComponent t,
int pos,
Position.Bias b,
int direction,
Position.Bias[] biasRet)
|
View |
getRootView(JTextComponent t)
|
void |
installUI(JComponent comp)
|
Rectangle |
modelToView(JTextComponent t,
int pos)
|
Rectangle |
modelToView(JTextComponent t,
int pos,
Position.Bias bias)
|
void |
uninstallUI(JComponent comp)
|
void |
update(Graphics g,
JComponent c)
|
int |
viewToModel(JTextComponent t,
Point pt)
|
int |
viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextMenuAuxTextUI
public ContextMenuAuxTextUI()
createUI
public static ComponentUI createUI(JComponent c)
installUI
public void installUI(JComponent comp)
- Overrides:
installUI
in class ComponentUI
uninstallUI
public void uninstallUI(JComponent comp)
- Overrides:
uninstallUI
in class ComponentUI
update
public void update(Graphics g,
JComponent c)
- Overrides:
update
in class ComponentUI
modelToView
public Rectangle modelToView(JTextComponent t,
int pos)
throws BadLocationException
- Specified by:
modelToView
in class TextUI
- Throws:
BadLocationException
modelToView
public Rectangle modelToView(JTextComponent t,
int pos,
Position.Bias bias)
throws BadLocationException
- Specified by:
modelToView
in class TextUI
- Throws:
BadLocationException
viewToModel
public int viewToModel(JTextComponent t,
Point pt)
- Specified by:
viewToModel
in class TextUI
viewToModel
public int viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn)
- Specified by:
viewToModel
in class TextUI
getNextVisualPositionFrom
public int getNextVisualPositionFrom(JTextComponent t,
int pos,
Position.Bias b,
int direction,
Position.Bias[] biasRet)
throws BadLocationException
- Specified by:
getNextVisualPositionFrom
in class TextUI
- Throws:
BadLocationException
damageRange
public void damageRange(JTextComponent t,
int p0,
int p1)
- Specified by:
damageRange
in class TextUI
damageRange
public void damageRange(JTextComponent t,
int p0,
int p1,
Position.Bias firstBias,
Position.Bias secondBias)
- Specified by:
damageRange
in class TextUI
getEditorKit
public EditorKit getEditorKit(JTextComponent t)
- Specified by:
getEditorKit
in class TextUI
getRootView
public View getRootView(JTextComponent t)
- Specified by:
getRootView
in class TextUI