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
|
@ -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>
|
2005-03-29 Ian Lance Taylor <ian@airs.com>
|
||||||
|
|
||||||
* external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
|
* external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
|
||||||
|
|
|
@ -1467,6 +1467,11 @@ public abstract class JTextComponent extends JComponent
|
||||||
dragEnabled = enabled;
|
dragEnabled = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int viewToModel(Point pt)
|
||||||
|
{
|
||||||
|
return getUI().viewToModel(this, pt);
|
||||||
|
}
|
||||||
|
|
||||||
public void copy()
|
public void copy()
|
||||||
{
|
{
|
||||||
doTransferAction("copy", TransferHandler.getCopyAction());
|
doTransferAction("copy", TransferHandler.getCopyAction());
|
||||||
|
|
Loading…
Reference in New Issue