javax.swing.plaf.multi
public class MultiTextUI extends TextUI
See Also: addAuxiliaryLookAndFeel
Field Summary | |
---|---|
protected Vector | uis A list of references to the actual component UIs. |
Constructor Summary | |
---|---|
MultiTextUI()
Creates a new MultiTextUI instance.
|
Method Summary | |
---|---|
boolean | contains(JComponent c, int x, int y)
Calls the {@link ComponentUI#contains(JComponent, int, int)} method for all
the UI delegates managed by this MultiTextUI ,
returning the result for the UI delegate from the primary look and
feel.
|
static ComponentUI | createUI(JComponent target)
Creates a delegate object for the specified component. |
void | damageRange(JTextComponent tc, int start, int end)
Calls the {@link TextUI#damageRange(JTextComponent, int, int)} method for
all the UI delegates managed by this MultiTextUI .
|
void | damageRange(JTextComponent tc, int start, int end, Position.Bias startBias, Position.Bias endBias)
Calls the {@link TextUI#damageRange(JTextComponent, int, int,
Position.Bias, Position.Bias)} method for all the UI delegates managed by
this MultiTextUI .
|
Accessible | getAccessibleChild(JComponent c, int i)
Calls the {@link ComponentUI#getAccessibleChild(JComponent, int)} method
for all the UI delegates managed by this MultiTextUI ,
returning the child for the UI delegate from the primary look and
feel.
|
int | getAccessibleChildrenCount(JComponent c)
Calls the {@link ComponentUI#getAccessibleChildrenCount(JComponent)} method
for all the UI delegates managed by this MultiTextUI ,
returning the count for the UI delegate from the primary look and
feel.
|
EditorKit | getEditorKit(JTextComponent tc)
Calls the {@link TextUI#getEditorKit(JTextComponent)} method for all
the UI delegates managed by this MultiTextUI ,
returning the editor kit for the UI delegate from the primary look and
feel.
|
Dimension | getMaximumSize(JComponent c)
Calls the {@link ComponentUI#getMaximumSize(JComponent)} method for all
the UI delegates managed by this MultiTextUI ,
returning the maximum size for the UI delegate from the primary look and
feel.
|
Dimension | getMinimumSize(JComponent c)
Calls the {@link ComponentUI#getMinimumSize(JComponent)} method for all
the UI delegates managed by this MultiTextUI ,
returning the minimum size for the UI delegate from the primary look and
feel.
|
int | getNextVisualPositionFrom(JTextComponent tc, int pos, Position.Bias bias, int direction, Position.Bias[] outBias)
Calls the {@link TextUI#getNextVisualPositionFrom(JTextComponent, int,
Position.Bias, int, Position.Bias[])} method for all
the UI delegates managed by this MultiTextUI ,
returning the position for the UI delegate from the primary look and
feel.
|
Dimension | getPreferredSize(JComponent c)
Calls the {@link ComponentUI#getPreferredSize(JComponent)} method for all
the UI delegates managed by this MultiTextUI ,
returning the preferred size for the UI delegate from the primary look and
feel.
|
View | getRootView(JTextComponent tc)
Calls the {@link TextUI#getRootView(JTextComponent)} method for all
the UI delegates managed by this MultiTextUI ,
returning the view for the UI delegate from the primary look and
feel.
|
ComponentUI[] | getUIs()
Returns an array containing the UI delegates managed by this
MultiTextUI . |
void | installUI(JComponent c)
Calls the {@link ComponentUI#installUI(JComponent)} method for all
the UI delegates managed by this MultiTextUI .
|
Rectangle | modelToView(JTextComponent tc, int pos)
Calls the {@link TextUI#modelToView(JTextComponent, int)} method for all
the UI delegates managed by this MultiTextUI ,
returning the bounds for the UI delegate from the primary look and
feel.
|
Rectangle | modelToView(JTextComponent tc, int pos, Position.Bias bias)
Calls the {@link TextUI#modelToView(JTextComponent, int, Position.Bias)}
method for all the UI delegates managed by this MultiTextUI ,
returning the bounds for the UI delegate from the primary look and
feel.
|
void | paint(Graphics g, JComponent c)
Calls the paint(Graphics, JComponent) method for all the UI
delegates managed by this MultiTextUI .
|
void | uninstallUI(JComponent c)
Calls the {@link ComponentUI#uninstallUI(JComponent)} method for all
the UI delegates managed by this MultiTextUI .
|
void | update(Graphics g, JComponent c)
Calls the {@link ComponentUI#update(Graphics, JComponent)} method for all
the UI delegates managed by this MultiTextUI .
|
int | viewToModel(JTextComponent t, Point pt)
Calls the {@link TextUI#viewToModel(JTextComponent, Point)} method for all
the UI delegates managed by this MultiTextUI ,
returning the position for the UI delegate from the primary look and
feel.
|
int | viewToModel(JTextComponent tc, Point loc, Position.Bias[] outBias)
Calls the {@link TextUI#viewToModel(JTextComponent, Point, Bias[])} method
for all the UI delegates managed by this MultiTextUI ,
returning the position for the UI delegate from the primary look and
feel.
|
MultiTextUI
instance.
See Also: createUI
MultiTextUI
,
returning the result for the UI delegate from the primary look and
feel.
Parameters: c the component. x the x-coordinate. y the y-coordinate.
Returns: true
if the specified (x, y) coordinate falls within
the bounds of the component as rendered by the UI delegate in the
primary look and feel, and false
otherwise.
MultiTextUI
is
returned, otherwise the UI from the default look and feel is returned.
Parameters: target the component.
See Also: MultiLookAndFeel
MultiTextUI
.
Parameters: tc the component. start the start position. end the end position.
MultiTextUI
.
Parameters: tc the component. start the start position. end the end position. startBias the start bias. endBias the end bias.
MultiTextUI
,
returning the child for the UI delegate from the primary look and
feel.
Parameters: c the component i the child index.
Returns: The child returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the count for the UI delegate from the primary look and
feel.
Parameters: c the component.
Returns: The count returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the editor kit for the UI delegate from the primary look and
feel.
Parameters: tc the text component.
Returns: The editor kit returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the maximum size for the UI delegate from the primary look and
feel.
Parameters: c the component.
Returns: The maximum size returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the minimum size for the UI delegate from the primary look and
feel.
Parameters: c the component.
Returns: The minimum size returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the position for the UI delegate from the primary look and
feel.
Parameters: tc the text component.
Returns: The position returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the preferred size for the UI delegate from the primary look and
feel.
Parameters: c the component.
Returns: The preferred size returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the view for the UI delegate from the primary look and
feel.
Parameters: tc the text component.
Returns: The view returned by the UI delegate from the primary look and feel.
MultiTextUI
. The first item in the array is always
the UI delegate from the installed default look and feel.
Returns: An array of UI delegates.
MultiTextUI
.
Parameters: c the component.
MultiTextUI
,
returning the bounds for the UI delegate from the primary look and
feel.
Parameters: tc the text component.
Returns: The bounds returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the bounds for the UI delegate from the primary look and
feel.
Parameters: tc the text component.
Returns: The bounds returned by the UI delegate from the primary look and feel.
paint(Graphics, JComponent)
method for all the UI
delegates managed by this MultiTextUI
.
Parameters: g the graphics device. c the component.
MultiTextUI
.
Parameters: c the component.
MultiTextUI
.
Parameters: g the graphics device. c the component.
MultiTextUI
,
returning the position for the UI delegate from the primary look and
feel.
Parameters: t the text component. pt the point.
Returns: The position returned by the UI delegate from the primary look and feel.
MultiTextUI
,
returning the position for the UI delegate from the primary look and
feel.
Parameters: tc the text component.
Returns: The position returned by the UI delegate from the primary look and feel.