| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
This class is used to provide all neccessary changes and validations in model. Generally two strategies for ViewEditorHelper 1) really update the view and model 2) update the model and recreate the view according to model
| Method Summary | |
View | add(Object obj, Point location)Should provides necessary changes in view and model if the view can be resized. |
boolean | canAccept(CompositeView composite, View view) |
Object | createObject(Class clazz, Point pt) |
Action[] | getActions()we can use different selections for different viewes |
boolean | isResizable(View view) |
Dimension | moveView(View view, Dimension offset)Should provides necessary changes in view and model if the view can be moved on the specified offset. |
void | register(ViewEditorPane viewEditor)register this ViewEditorHelper for the specified ViewEditorPane. |
boolean | removeView(View view)Should provides necessary changes in view and model if the view can removed. |
Dimension | resizeView(View view, Dimension size)Should provides necessary changes in view and model if the view can be resized. |
| Method Detail |
public View add(Object obj, Point location)
public boolean canAccept(CompositeView composite, View view)
public Object createObject(Class clazz, Point pt)
public Action[] getActions()
public boolean isResizable(View view)
public Dimension moveView(View view, Dimension offset)
public void register(ViewEditorPane viewEditor)
public boolean removeView(View view)
public Dimension resizeView(View view, Dimension size)
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||