|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuiltTextField
A BuiltTextField constructed by a TextFieldBuilder. Add the component returned by getGUI() to the toolbar area of the UI.
Method Summary | |
---|---|
javax.swing.JComponent |
getGUI() |
javax.swing.JLabel |
getLabel() Get the label associated with the text field. |
java.lang.String |
getText() |
javax.swing.JTextField |
getTextField() |
void |
setEditable(boolean isEditable) |
void |
setEnabled(boolean isEnabled) |
void |
setText(java.lang.String text) |
Method Detail |
---|
javax.swing.JComponent getGUI()
javax.swing.JTextField getTextField()
void setEnabled(boolean isEnabled)
void setEditable(boolean isEditable)
void setText(java.lang.String text)
java.lang.String getText()
javax.swing.JLabel getLabel()
When constructing a form type layout, the labels and text fields must be aligned with each other. Use the builder to build the component, then the label can be extracted via this method and added to the form in the correct place. This is easier than making the label separately as the builder does helpful things automatically such as set the mnemonic and enable/disable the label in sync with the text field.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |