hibergui.assoc
Class ListEdit_List<T>
java.lang.Object
hibergui.Component<T>
hibergui.Edit<C>
hibergui.assoc.AssociationEdit<T,C>
hibergui.assoc.M2MEdit<T,C>
hibergui.assoc.M2MEdit_List<T,java.util.List<T>>
hibergui.assoc.ListEdit_List<T>
public abstract class ListEdit_List<T>
- extends M2MEdit_List<T,java.util.List<T>>
- Author:
- espakm
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
|
Field Summary |
private org.eclipse.swt.widgets.Button |
btnDown
|
private org.eclipse.swt.widgets.Button |
btnUp
|
|
Constructor Summary |
ListEdit_List(Form<?> form,
org.eclipse.swt.widgets.Composite cptParent,
int style,
java.lang.String prop,
java.lang.String name,
java.lang.String editProp)
|
|
Method Summary |
void |
clear()
Clears the controls of the edit. |
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite cptParent)
Creates the GUI contents of the component. |
void |
fill()
Fills the controls of the edit with its actual value. |
protected void |
selectionChanged()
|
void |
setEnabled(boolean b)
|
| Methods inherited from class hibergui.Edit |
addConstraint, addConstraint, addModificationListener, addTraverseListener, fireKeyPressed, fireKeyReleased, fireTraversal, fix, get, getDefault, getName, getPropertyName, hasDefault, isDirty, isEditable, isFixed, isValid, markClean, markDirty, markInvalid, markValid, removeConstraint, removeConstraint, removeModificationListener, removeTraverseListener, resetBackground, set, setDefault, setDefault, setDefault, verify |
| Methods inherited from class hibergui.Component |
addChangeListener, addControlListener, addFocusListener, addKeyListener, dispose, fireChange, getControl, init, removeChangeListener, removeControlListener, removeFocusListener, removeKeyListener, setLayoutData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
btnUp
private org.eclipse.swt.widgets.Button btnUp
btnDown
private org.eclipse.swt.widgets.Button btnDown
ListEdit_List
public ListEdit_List(Form<?> form,
org.eclipse.swt.widgets.Composite cptParent,
int style,
java.lang.String prop,
java.lang.String name,
java.lang.String editProp)
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite cptParent)
- Description copied from class:
Component
- Creates the GUI contents of the component. Subclasses should override it.
- Specified by:
createContents in class Component<java.util.List<T>>
- Parameters:
cptParent - The composite which the component will be placed on. The
parent of the control of the component.
- Returns:
- The control of the component containing its GUI elements.
selectionChanged
protected void selectionChanged()
- Overrides:
selectionChanged in class M2MEdit_List<T,java.util.List<T>>
clear
public void clear()
- Description copied from class:
Edit
- Clears the controls of the edit.
- Overrides:
clear in class AssociationEdit<T,java.util.List<T>>
fill
public void fill()
- Description copied from class:
Edit
- Fills the controls of the edit with its actual value.
- Specified by:
fill in class Edit<java.util.List<T>>
setEnabled
public void setEnabled(boolean b)
- Overrides:
setEnabled in class M2MEdit_List<T,java.util.List<T>>