< prev index next >
src/java.desktop/share/classes/java/beans/PropertyEditor.java
Print this page
*** 125,144 ****
* code will compile in the presence of an expression that can throw
* checked exceptions.
* <p>
* Example results are:
* <ul>
! * <li>Primitive expresssion: <code>2</code>
! * <li>Class constructor: <code>new java.awt.Color(127,127,34)</code>
! * <li>Static field: <code>java.awt.Color.orange</code>
! * <li>Static method: <code>javax.swing.Box.createRigidArea(new
! * java.awt.Dimension(0, 5))</code>
* </ul>
*
* @return a fragment of Java code representing an initializer for the
* current value. It should not contain a semi-colon
! * ('<code>;</code>') to end the expression.
*/
String getJavaInitializationString();
//----------------------------------------------------------------------
--- 125,144 ----
* code will compile in the presence of an expression that can throw
* checked exceptions.
* <p>
* Example results are:
* <ul>
! * <li>Primitive expresssion: {@code 2}
! * <li>Class constructor: {@code new java.awt.Color(127,127,34)}
! * <li>Static field: {@code java.awt.Color.orange}
! * <li>Static method: {@code javax.swing.Box.createRigidArea(new
! * java.awt.Dimension(0, 5))}
* </ul>
*
* @return a fragment of Java code representing an initializer for the
* current value. It should not contain a semi-colon
! * ('{@code ;}') to end the expression.
*/
String getJavaInitializationString();
//----------------------------------------------------------------------
< prev index next >