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
|
@ -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
Add a link
Reference in a new issue