Methods Summary |
---|
public abstract void | damageRange(javax.swing.text.JTextComponent t, int p0, int p1)Causes the portion of the view responsible for the
given part of the model to be repainted.
|
public abstract void | damageRange(javax.swing.text.JTextComponent t, int p0, int p1, javax.swing.text.Position$Bias firstBias, javax.swing.text.Position$Bias secondBias)Causes the portion of the view responsible for the
given part of the model to be repainted.
|
public abstract javax.swing.text.EditorKit | getEditorKit(javax.swing.text.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.
|
public abstract int | getNextVisualPositionFrom(javax.swing.text.JTextComponent t, int pos, javax.swing.text.Position$Bias b, int direction, javax.swing.text.Position$Bias[] biasRet)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.
|
public abstract javax.swing.text.View | getRootView(javax.swing.text.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 java.lang.String | getToolTipText(javax.swing.text.JTextComponent t, java.awt.Point pt)Returns the string to be used as the tooltip at the passed in location.
return null;
|
public abstract java.awt.Rectangle | modelToView(javax.swing.text.JTextComponent t, int pos)Converts the given location in the model to a place in
the view coordinate system.
|
public abstract java.awt.Rectangle | modelToView(javax.swing.text.JTextComponent t, int pos, javax.swing.text.Position$Bias bias)Converts the given location in the model to a place in
the view coordinate system.
|
public abstract int | viewToModel(javax.swing.text.JTextComponent t, java.awt.Point pt)Converts the given place in the view coordinate system
to the nearest representative location in the model.
|
public abstract int | viewToModel(javax.swing.text.JTextComponent t, java.awt.Point pt, javax.swing.text.Position$Bias[] biasReturn)Provides a mapping from the view coordinate space to the logical
coordinate space of the model.
|