This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf.multi
class MultiTextUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.TextUI extended by javax.swing.plaf.multi.MultiTextUI

public class MultiTextUI
extends TextUI

A multiplexing UI used to combine TextUIs.

This file was automatically generated by AutoMulti.


Field Summary
protected Vector uis
          The vector containing the real UIs.
 
Constructor Summary

          
 
Method Summary
 boolean
contains(JComponent a, int b, int c)

          Invokes the contains method on each UI handled by this object.
static ComponentUI

          Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI.
 void
damageRange(JTextComponent a, int b, int c)

          Invokes the damageRange method on each UI handled by this object.
 void

          Invokes the damageRange method on each UI handled by this object.
 Accessible

          Invokes the getAccessibleChild method on each UI handled by this object.
 int

          Invokes the getAccessibleChildrenCount method on each UI handled by this object.
 EditorKit

          Invokes the getEditorKit method on each UI handled by this object.
 Dimension

          Invokes the getMaximumSize method on each UI handled by this object.
 Dimension

          Invokes the getMinimumSize method on each UI handled by this object.
 int

          Invokes the getNextVisualPositionFrom method on each UI handled by this object.
 Dimension

          Invokes the getPreferredSize method on each UI handled by this object.
 View

          Invokes the getRootView method on each UI handled by this object.
 String

          Invokes the getToolTipText method on each UI handled by this object.
 ComponentUI[]

          Returns the list of UIs associated with this multiplexing UI.
 void

          Invokes the installUI method on each UI handled by this object.
 Rectangle

          Invokes the modelToView method on each UI handled by this object.
 Rectangle

          Invokes the modelToView method on each UI handled by this object.
 void

          Invokes the paint method on each UI handled by this object.
 void

          Invokes the uninstallUI method on each UI handled by this object.
 void

          Invokes the update method on each UI handled by this object.
 int

          Invokes the viewToModel method on each UI handled by this object.
 int

          Invokes the viewToModel method on each UI handled by this object.
 
Methods inherited from class javax.swing.plaf.TextUI
damageRange, damageRange, getEditorKit, getNextVisualPositionFrom, getRootView, getToolTipText, modelToView, modelToView, viewToModel, viewToModel
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uis

protected Vector uis
The vector containing the real UIs. This is populated in the call to createUI, and can be obtained by calling the getUIs method. The first element is guaranteed to be the real UI obtained from the default look and feel.
Constructor Detail

MultiTextUI

public MultiTextUI()
Method Detail

contains

public boolean contains(JComponent a,
                        int b,
                        int c)
Invokes the contains method on each UI handled by this object.

Overrides:
contains in class ComponentUI
Parameters:
a
b
c
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

createUI

public static ComponentUI createUI(JComponent a)
Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI. Otherwise, just returns the UI object obtained from the default LookAndFeel.

Parameters:
a

damageRange

public void damageRange(JTextComponent a,
                        int b,
                        int c)
Invokes the damageRange method on each UI handled by this object.

Overrides:
damageRange in class TextUI
Parameters:
a
b
c

damageRange

public void damageRange(JTextComponent a,
                        int b,
                        int c,
                        Position.Bias d,
                        Position.Bias e)
Invokes the damageRange method on each UI handled by this object.

Overrides:
damageRange in class TextUI
Parameters:
a
b
c
d
e

getAccessibleChild

public Accessible getAccessibleChild(JComponent a,
                                     int b)
Invokes the getAccessibleChild method on each UI handled by this object.

Overrides:
getAccessibleChild in class ComponentUI
Parameters:
a
b
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getAccessibleChildrenCount

public int getAccessibleChildrenCount(JComponent a)
Invokes the getAccessibleChildrenCount method on each UI handled by this object.

Overrides:
getAccessibleChildrenCount in class ComponentUI
Parameters:
a
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getEditorKit

public EditorKit getEditorKit(JTextComponent a)
Invokes the getEditorKit method on each UI handled by this object.

Overrides:
getEditorKit in class TextUI
Parameters:
a
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMaximumSize

public Dimension getMaximumSize(JComponent a)
Invokes the getMaximumSize method on each UI handled by this object.

Overrides:
getMaximumSize in class ComponentUI
Parameters:
a
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMinimumSize

public Dimension getMinimumSize(JComponent a)
Invokes the getMinimumSize method on each UI handled by this object.

Overrides:
getMinimumSize in class ComponentUI
Parameters:
a
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getNextVisualPositionFrom

public int getNextVisualPositionFrom(JTextComponent a,
                                     int b,
                                     Position.Bias c,
                                     int d,
                                     Position.Bias[] e)
                              throws BadLocationException
Invokes the getNextVisualPositionFrom method on each UI handled by this object.

Overrides:
getNextVisualPositionFrom in class TextUI
Parameters:
a
b
c
d
e
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
Throws:
BadLocationException

getPreferredSize

public Dimension getPreferredSize(JComponent a)
Invokes the getPreferredSize method on each UI handled by this object.

Overrides:
getPreferredSize in class ComponentUI
Parameters:
a
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getRootView

public View getRootView(JTextComponent a)
Invokes the getRootView method on each UI handled by this object.

Overrides:
getRootView in class TextUI
Parameters:
a
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getToolTipText

public String getToolTipText(JTextComponent a,
                             Point b)
Invokes the getToolTipText method on each UI handled by this object.

Overrides:
getToolTipText in class TextUI
Parameters:
a
b
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getUIs

public ComponentUI[] getUIs()
Returns the list of UIs associated with this multiplexing UI. This allows processing of the UIs by an application aware of multiplexing UIs on components.


installUI

public void installUI(JComponent a)
Invokes the installUI method on each UI handled by this object.

Overrides:
installUI in class ComponentUI
Parameters:
a

modelToView

public Rectangle modelToView(JTextComponent a,
                             int b)
                      throws BadLocationException
Invokes the modelToView method on each UI handled by this object.

Overrides:
modelToView in class TextUI
Parameters:
a
b
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
Throws:
BadLocationException

modelToView

public Rectangle modelToView(JTextComponent a,
                             int b,
                             Position.Bias c)
                      throws BadLocationException
Invokes the modelToView method on each UI handled by this object.

Overrides:
modelToView in class TextUI
Parameters:
a
b
c
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
Throws:
BadLocationException

paint

public void paint(Graphics a,
                  JComponent b)
Invokes the paint method on each UI handled by this object.

Overrides:
paint in class ComponentUI
Parameters:
a
b

uninstallUI

public void uninstallUI(JComponent a)
Invokes the uninstallUI method on each UI handled by this object.

Overrides:
uninstallUI in class ComponentUI
Parameters:
a

update

public void update(Graphics a,
                   JComponent b)
Invokes the update method on each UI handled by this object.

Overrides:
update in class ComponentUI
Parameters:
a
b

viewToModel

public int viewToModel(JTextComponent a,
                       Point b)
Invokes the viewToModel method on each UI handled by this object.

Overrides:
viewToModel in class TextUI
Parameters:
a
b
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

viewToModel

public int viewToModel(JTextComponent a,
                       Point b,
                       Position.Bias[] c)
Invokes the viewToModel method on each UI handled by this object.

Overrides:
viewToModel in class TextUI
Parameters:
a
b
c
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.