76 |
|
|
77 |
/** |
/** |
78 |
* @serial Indicates whether or not this component is editable. |
* @serial Indicates whether or not this component is editable. |
79 |
|
* This is package-private to avoid an accessor method. |
80 |
*/ |
*/ |
81 |
private boolean editable; |
boolean editable; |
82 |
|
|
83 |
/** |
/** |
84 |
* @serial The starting position of the selected text region. |
* @serial The starting position of the selected text region. |
85 |
|
* This is package-private to avoid an accessor method. |
86 |
*/ |
*/ |
87 |
private int selectionStart; |
int selectionStart; |
88 |
|
|
89 |
/** |
/** |
90 |
* @serial The ending position of the selected text region. |
* @serial The ending position of the selected text region. |
91 |
|
* This is package-private to avoid an accessor method. |
92 |
*/ |
*/ |
93 |
private int selectionEnd; |
int selectionEnd; |
94 |
|
|
95 |
/** |
/** |
96 |
* @serial The text in the component |
* @serial The text in the component |
97 |
|
* This is package-private to avoid an accessor method. |
98 |
*/ |
*/ |
99 |
private String text; |
String text; |
100 |
|
|
101 |
/** |
/** |
102 |
* A list of listeners that will receive events from this object. |
* A list of listeners that will receive events from this object. |
712 |
|
|
713 |
/*******************************/ |
/*******************************/ |
714 |
// Provide AccessibleAWTTextComponent access to several peer functions that |
// Provide AccessibleAWTTextComponent access to several peer functions that |
715 |
// aren't publicly exposed. |
// aren't publicly exposed. This is package-private to avoid an accessor |
716 |
private synchronized int |
// method. |
717 |
|
synchronized int |
718 |
getIndexAtPoint(Point p) |
getIndexAtPoint(Point p) |
719 |
{ |
{ |
720 |
TextComponentPeer tcp = (TextComponentPeer)getPeer(); |
TextComponentPeer tcp = (TextComponentPeer)getPeer(); |
723 |
return -1; |
return -1; |
724 |
} |
} |
725 |
|
|
726 |
private synchronized Rectangle |
synchronized Rectangle |
727 |
getCharacterBounds(int i) |
getCharacterBounds(int i) |
728 |
{ |
{ |
729 |
TextComponentPeer tcp = (TextComponentPeer)getPeer(); |
TextComponentPeer tcp = (TextComponentPeer)getPeer(); |