JTextComponent.java (viewToModel): New method.
2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com> * javax/swing/text/JTextComponent.java (viewToModel): New method. From-SVN: r97325
This commit is contained in:
parent
87c8b4bed3
commit
406490a849
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
|
||||
|
||||
* javax/swing/text/JTextComponent.java (viewToModel): New method.
|
||||
|
||||
2005-03-29 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
* external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
|
||||
|
|
|
@ -1467,6 +1467,11 @@ public abstract class JTextComponent extends JComponent
|
|||
dragEnabled = enabled;
|
||||
}
|
||||
|
||||
public int viewToModel(Point pt)
|
||||
{
|
||||
return getUI().viewToModel(this, pt);
|
||||
}
|
||||
|
||||
public void copy()
|
||||
{
|
||||
doTransferAction("copy", TransferHandler.getCopyAction());
|
||||
|
|
Loading…
Add table
Reference in a new issue