de.matthiasmann.twl
Interface PropertySheet.PropertyEditor

All Known Implementing Classes:
PropertySheet.ComboBoxEditor
Enclosing class:
PropertySheet

public static interface PropertySheet.PropertyEditor


Method Summary
 Widget getWidget()
           
 boolean positionWidget(int x, int y, int width, int height)
          Can be used to position the widget in a cell.
 void preDestroy()
           
 void setSelected(boolean selected)
           
 void valueChanged()
           
 

Method Detail

getWidget

Widget getWidget()

valueChanged

void valueChanged()

preDestroy

void preDestroy()

setSelected

void setSelected(boolean selected)

positionWidget

boolean positionWidget(int x,
                       int y,
                       int width,
                       int height)
Can be used to position the widget in a cell.

If this method returns false, the table will position the widget itself.

This method is responsible to call setPosition and setSize on the widget or return false.

Parameters:
x - the left edge of the cell
y - the top edge of the cell
width - the width of the cell
height - the height of the cell
Returns:
true if the position was changed by this method.