Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
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
pos
- the local location in the model to translate >= 0public Rectangle modelToView(JTextComponent t, int pos, Position.Bias bias) throws BadLocationException
pos
- the local location in the model to translate >= 0public int viewToModel(JTextComponent a, Point b)
pt
- 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)
x
- the X coordinate >= 0y
- the Y coordinate >= 0a
- the allocated region to render intopublic int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException
pos
- 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.public void damageRange(JTextComponent a, int b, int c)
p0
- the beginning of the range >= 0p1
- the end of the range >= p0public void damageRange(JTextComponent t, int p0, int p1, Position.Bias firstBias, Position.Bias secondBias)
p0
- the beginning of the range >= 0p1
- the end of the range >= p0public EditorKit getEditorKit(JTextComponent a)
public View getRootView(JTextComponent a)
public void installUI(JComponent a)
public void uninstallUI(JComponent a)
public void paint(Graphics a, JComponent b)
public void update(Graphics a, JComponent b)
public Dimension getPreferredSize(JComponent a)
public Dimension getMinimumSize(JComponent a)
public Dimension getMaximumSize(JComponent a)
public boolean contains(JComponent a, int b, int c)
public static ComponentUI createUI(JComponent a)
public int getAccessibleChildrenCount(JComponent a)
ComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public Accessible getAccessibleChild(JComponent a, int b)
i
- zero-based index of childComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |