|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.TextUI
|
+--javax.swing.plaf.multi.MultiTextUI
MultiTextUI implementation
This file was automatically generated by AutoMulti.
| Field Summary | |
protected Vector |
uis
The Vector containing the real UI's. |
| Constructor Summary | |
MultiTextUI()
|
|
| Method Summary | |
boolean |
contains(JComponent a,
int b,
int c)
Call contains on each UI handled by this MultiUI. |
static ComponentUI |
createUI(JComponent a)
Return a multiplexing UI instance if any of the auxiliary LookAndFeels support this UI. |
void |
damageRange(JTextComponent a,
int b,
int c)
Call damageRange on each UI handled by this MultiUI. |
void |
damageRange(JTextComponent t,
int p0,
int p1,
Position.Bias firstBias,
Position.Bias secondBias)
Causes the portion of the view responsible for the given part of the model to be repainted. |
Accessible |
getAccessibleChild(JComponent a,
int b)
Call getAccessibleChild on each UI handled by this MultiUI. |
int |
getAccessibleChildrenCount(JComponent a)
Call getAccessibleChildrenCount on each UI handled by this MultiUI. |
EditorKit |
getEditorKit(JTextComponent a)
Call getEditorKit on each UI handled by this MultiUI. |
Dimension |
getMaximumSize(JComponent a)
Call getMaximumSize on each UI handled by this MultiUI. |
Dimension |
getMinimumSize(JComponent a)
Call getMinimumSize on each UI handled by this MultiUI. |
int |
getNextVisualPositionFrom(JTextComponent t,
int pos,
Position.Bias b,
int direction,
Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret. |
Dimension |
getPreferredSize(JComponent a)
Call getPreferredSize on each UI handled by this MultiUI. |
View |
getRootView(JTextComponent a)
Call getRootView on each UI handled by this MultiUI. |
ComponentUI[] |
getUIs()
Return the list of UI's associated with this multiplexing UI. |
void |
installUI(JComponent a)
Call installUI on each UI handled by this MultiUI. |
Rectangle |
modelToView(JTextComponent a,
int b)
Call modelToView on each UI handled by this MultiUI. |
Rectangle |
modelToView(JTextComponent t,
int pos,
Position.Bias bias)
Converts the given location in the model to a place in the view coordinate system. |
void |
paint(Graphics a,
JComponent b)
Call paint on each UI handled by this MultiUI. |
void |
uninstallUI(JComponent a)
Call uninstallUI on each UI handled by this MultiUI. |
void |
update(Graphics a,
JComponent b)
Call update on each UI handled by this MultiUI. |
int |
viewToModel(JTextComponent a,
Point b)
Call viewToModel on each UI handled by this MultiUI. |
int |
viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Vector uis
| Constructor Detail |
public MultiTextUI()
| Method Detail |
public ComponentUI[] getUIs()
public Rectangle modelToView(JTextComponent a,
int b)
throws BadLocationException
modelToView in class TextUIjavax.swing.plaf.TextUIpos - the local location in the model to translate >= 0BadLocationException - if the given position does not
represent a valid location in the associated document
public Rectangle modelToView(JTextComponent t,
int pos,
Position.Bias bias)
throws BadLocationException
modelToView in class TextUIpos - the local location in the model to translate >= 0BadLocationException - if the given position does not
represent a valid location in the associated document
public int viewToModel(JTextComponent a,
Point b)
viewToModel in class TextUIjavax.swing.plaf.TextUIpt - the location in the view to translate. This
should be in the same coordinate system as the mouse
events.
public int viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn)
viewToModel in class TextUIx - the X coordinate >= 0y - the Y coordinate >= 0a - the allocated region to render into
public int getNextVisualPositionFrom(JTextComponent t,
int pos,
Position.Bias b,
int direction,
Position.Bias[] biasRet)
throws BadLocationException
getNextVisualPositionFrom in class TextUIpos - the position to convert >= 0a - the allocated region to render intodirection - the direction from the current position that can
be thought of as the arrow keys typically found on a keyboard.
This may be SwingConstants.WEST, SwingConstants.EAST,
SwingConstants.NORTH, or SwingConstants.SOUTH.BadLocationException - IllegalArgumentException - for an invalid direction
public void damageRange(JTextComponent a,
int b,
int c)
damageRange in class TextUIjavax.swing.plaf.TextUIp0 - the beginning of the range >= 0p1 - the end of the range >= p0
public void damageRange(JTextComponent t,
int p0,
int p1,
Position.Bias firstBias,
Position.Bias secondBias)
damageRange in class TextUIp0 - the beginning of the range >= 0p1 - the end of the range >= p0public EditorKit getEditorKit(JTextComponent a)
getEditorKit in class TextUIjavax.swing.plaf.TextUIpublic View getRootView(JTextComponent a)
getRootView in class TextUIjavax.swing.plaf.TextUIpublic void installUI(JComponent a)
installUI in class ComponentUIpublic void uninstallUI(JComponent a)
uninstallUI in class ComponentUI
public void paint(Graphics a,
JComponent b)
paint in class ComponentUI
public void update(Graphics a,
JComponent b)
update in class ComponentUIpublic Dimension getPreferredSize(JComponent a)
getPreferredSize in class ComponentUIpublic Dimension getMinimumSize(JComponent a)
getMinimumSize in class ComponentUIpublic Dimension getMaximumSize(JComponent a)
getMaximumSize in class ComponentUI
public boolean contains(JComponent a,
int b,
int c)
contains in class ComponentUIpublic static ComponentUI createUI(JComponent a)
public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount in class ComponentUIjavax.swing.plaf.ComponentUIComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public Accessible getAccessibleChild(JComponent a,
int b)
getAccessibleChild in class ComponentUIjavax.swing.plaf.ComponentUIi - zero-based index of childComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.