swingx
Version 2005-08-19

org.jdesktop.swingx.plaf
Class ContextMenuAuxTextUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TextUI
          extended by org.jdesktop.swingx.plaf.ContextMenuAuxTextUI

public class ContextMenuAuxTextUI
extends TextUI


Constructor Summary
ContextMenuAuxTextUI()
           
 
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 javax.swing.plaf.TextUI
getToolTipText
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMenuAuxTextUI

public ContextMenuAuxTextUI()
Method Detail

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

swingx
Version 2005-08-19