|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.gui.rows.LabeledRow
org.openoffice.ide.eclipse.core.gui.rows.TextRow
public class TextRow
GUI row for a text input. It supports only the Grid Layout and can be extended to manage more complex texts.
for a file row based on this class
,
for a UNO type selection row based on this class
Field Summary |
---|
Fields inherited from class org.openoffice.ide.eclipse.core.gui.rows.LabeledRow |
---|
LAYOUT_COLUMNS, mBrowse, mField, mLabel, mListener, mProperty |
Constructor Summary | |
---|---|
TextRow(org.eclipse.swt.widgets.Composite pParent,
java.lang.String pProperty,
java.lang.String pLabel)
Create a new text row. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.openoffice.ide.eclipse.core.gui.rows.LabeledRow |
---|
addBrowseSelectionListener, createContent, fillRow, fireFieldChangedEvent, getLabel, getProperty, removeFieldChangedlistener, setEnabled, setFieldChangedListener, setLabel, setTooltip, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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 rowMethod Detail |
---|
public void focusGained(org.eclipse.swt.events.FocusEvent pEvent)
focusGained
in interface org.eclipse.swt.events.FocusListener
public void focusLost(org.eclipse.swt.events.FocusEvent pEvent)
focusLost
in interface org.eclipse.swt.events.FocusListener
public void keyPressed(org.eclipse.swt.events.KeyEvent pEvent)
keyPressed
in interface org.eclipse.swt.events.KeyListener
public void keyReleased(org.eclipse.swt.events.KeyEvent pEvent)
keyReleased
in interface org.eclipse.swt.events.KeyListener
public java.lang.String getValue()
getValue
in class LabeledRow
public void setValue(java.lang.String pValue)
pValue
- the value to setpublic void setFocus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |