示例#1
0
 /// <summary>
 /// Converts the given place in the view coordinate system
 /// to the nearest representative location in the model.
 /// </summary>
 abstract public int viewToModel(JTextComponent @t, Point @pt);
示例#2
0
 /// <summary>
 /// Converts the given location in the model to a place in
 /// the view coordinate system.
 /// </summary>
 abstract public Rectangle modelToView(JTextComponent @t, int @pos);
示例#3
0
 /// <summary>
 /// Returns the string to be used as the tooltip at the passed in location.
 /// </summary>
 public string getToolTipText(JTextComponent @t, Point @pt)
 {
     return(default(string));
 }
示例#4
0
 /// <summary>
 /// Fetches a View with the allocation of the associated
 /// text component (i.e.
 /// </summary>
 abstract public View getRootView(JTextComponent @t);
示例#5
0
 /// <summary>
 /// Fetches the binding of services that set a policy
 /// for the type of document being edited.
 /// </summary>
 abstract public EditorKit getEditorKit(JTextComponent @t);
示例#6
0
 /// <summary>
 /// Causes the portion of the view responsible for the
 /// given part of the model to be repainted.
 /// </summary>
 abstract public void damageRange(JTextComponent @t, int @p0, int @p1);