131 |
public static final int REVERT = 2; |
public static final int REVERT = 2; |
132 |
public static final int PERSIST = 3; |
public static final int PERSIST = 3; |
133 |
|
|
134 |
|
private Object value; |
135 |
|
|
136 |
public JFormattedTextField () |
public JFormattedTextField () |
137 |
{ |
{ |
138 |
throw new InternalError ("not implemented"); |
throw new InternalError ("not implemented"); |
160 |
|
|
161 |
public JFormattedTextField (Object value) |
public JFormattedTextField (Object value) |
162 |
{ |
{ |
163 |
throw new InternalError ("not implemented"); |
this.value = value; |
164 |
} |
} |
165 |
|
|
166 |
public void commitEdit () |
public void commitEdit () |
191 |
|
|
192 |
public String getUIClassID () |
public String getUIClassID () |
193 |
{ |
{ |
194 |
throw new InternalError ("not implemented"); |
return "FormattedTextFieldUI"; |
195 |
} |
} |
196 |
|
|
197 |
public Object getValue () |
public Object getValue () |
198 |
{ |
{ |
199 |
throw new InternalError ("not implemented"); |
return value; |
200 |
} |
} |
201 |
|
|
202 |
protected void invalidEdit () |
protected void invalidEdit () |
214 |
throw new InternalError ("not implemented"); |
throw new InternalError ("not implemented"); |
215 |
} |
} |
216 |
|
|
217 |
public void setDocument (Document document) |
public void setDocument(Document newdoc) |
218 |
{ |
{ |
219 |
throw new InternalError ("not implemented"); |
Document document = getDocument(); |
220 |
|
|
221 |
|
if (document == newdoc) |
222 |
|
return; |
223 |
|
|
224 |
|
setDocument(newdoc); |
225 |
|
firePropertyChange("document", document, newdoc); |
226 |
} |
} |
227 |
|
|
228 |
public void setLostFocusBehavior (int behavior) |
public void setLostFocusBehavior (int behavior) |
240 |
throw new InternalError ("not implemented"); |
throw new InternalError ("not implemented"); |
241 |
} |
} |
242 |
|
|
243 |
public void setValue (Object value) |
public void setValue (Object newValue) |
244 |
{ |
{ |
245 |
throw new InternalError ("not implemented"); |
value = newValue; |
246 |
} |
} |
247 |
} |
} |