public class PTSpinnerEditor extends PTEditor
Constructor and Description |
---|
PTSpinnerEditor(int min,
int max)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.custom.ControlEditor |
render(PTWidget widget,
org.eclipse.swt.widgets.Item item,
PTProperty property)
Renders an editor
|
public PTSpinnerEditor(int min, int max)
min
- minimum valuemax
- maximum valuepublic org.eclipse.swt.custom.ControlEditor render(PTWidget widget, org.eclipse.swt.widgets.Item item, PTProperty property)
PTEditor
render
in class PTEditor
widget
- the parent PTWidget (a table or a tree table)item
- the item on which the editor is displayedproperty
- the property associated to the editorPTEditor.render(org.eclipse.nebula.widgets.opal.propertytable.PTWidget,
org.eclipse.swt.widgets.Item,
org.eclipse.nebula.widgets.opal.propertytable.PTProperty)