| Method from javax.swing.plaf.TextUI Detail: |
abstract public void damageRange(JTextComponent t,
int p0,
int p1)
Causes the portion of the view responsible for the
given part of the model to be repainted. |
abstract public 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. |
abstract public EditorKit getEditorKit(JTextComponent t)
Fetches the binding of services that set a policy
for the type of document being edited. This contains
things like the commands available, stream readers and
writers, etc. |
abstract public int getNextVisualPositionFrom(JTextComponent t,
int pos,
Position.Bias b,
int direction,
Position.Bias[] biasRet) throws BadLocationException
Provides a way to determine the next visually represented model
location that one might place a caret. Some views may not be visible,
they might not be in the same order found in the model, or they just
might not allow access to some of the locations in the model. |
abstract public View getRootView(JTextComponent t)
Fetches a View with the allocation of the associated
text component (i.e. the root of the hierarchy) that
can be traversed to determine how the model is being
represented spatially. |
public String getToolTipText(JTextComponent t,
Point pt) {
return null;
}
Returns the string to be used as the tooltip at the passed in location. |
abstract public Rectangle modelToView(JTextComponent t,
int pos) throws BadLocationException
Converts the given location in the model to a place in
the view coordinate system. |
abstract public Rectangle modelToView(JTextComponent t,
int pos,
Position.Bias bias) throws BadLocationException
Converts the given location in the model to a place in
the view coordinate system. |
abstract public int viewToModel(JTextComponent t,
Point pt)
Converts the given place in the view coordinate system
to the nearest representative location in the model. |
abstract public 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. |