public class TextRow extends LabeledRow implements org.eclipse.swt.events.FocusListener, org.eclipse.swt.events.KeyListener
LAYOUT_COLUMNS, mBrowse, mField, mLabel, mListener, mProperty| Constructor and Description |
|---|
TextRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel)
Create a new text row.
|
| Modifier and Type | Method and Description |
|---|---|
void |
focusGained(org.eclipse.swt.events.FocusEvent pEvent) |
void |
focusLost(org.eclipse.swt.events.FocusEvent pEvent) |
java.lang.String |
getValue()
Get or calculate the value of this property.
|
void |
keyPressed(org.eclipse.swt.events.KeyEvent pEvent) |
void |
keyReleased(org.eclipse.swt.events.KeyEvent pEvent) |
void |
setFocus()
Sets the focus on the row.
|
void |
setValue(java.lang.String pValue)
Set the value of the row.
|
addBrowseSelectionListener, createContent, fillRow, fireFieldChangedEvent, getLabel, getProperty, removeFieldChangedlistener, setEnabled, setFieldChangedListener, setLabel, setTooltip, setVisiblepublic TextRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel)
pParent - the parent composite where to create the rowpProperty - the property name of the row's valuepLabel - the label of the rowpublic void focusGained(org.eclipse.swt.events.FocusEvent pEvent)
focusGained in interface org.eclipse.swt.events.FocusListenerpublic void focusLost(org.eclipse.swt.events.FocusEvent pEvent)
focusLost in interface org.eclipse.swt.events.FocusListenerpublic void keyPressed(org.eclipse.swt.events.KeyEvent pEvent)
keyPressed in interface org.eclipse.swt.events.KeyListenerpublic void keyReleased(org.eclipse.swt.events.KeyEvent pEvent)
keyReleased in interface org.eclipse.swt.events.KeyListenerpublic java.lang.String getValue()
getValue in class LabeledRowpublic void setValue(java.lang.String pValue)
pValue - the value to setpublic void setFocus()