|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.graphics.editor.DefaultViewEditorHelper
Default implementation of ViewEditorHelper interface. This class provides all necessary changes in view, but do not affect to the model.
| Field Summary | |
protected ViewEditorPane |
viewEditorPane
|
| Constructor Summary | |
DefaultViewEditorHelper()
|
|
| Method Summary | |
View |
add(java.lang.Object obj,
java.awt.Point location)
Should provides necessary changes in view and model if the view can be resized. |
boolean |
canAccept(CompositeView composite,
View view)
|
java.lang.Object |
createObject(java.lang.Class clazz,
java.awt.Point pt)
|
javax.swing.Action[] |
getActions()
we can use different selections for different viewes |
boolean |
isResizable(View view)
|
java.awt.Dimension |
moveView(View view,
java.awt.Dimension offset)
Should provides necessary changes in view and model if the view can be moved on the specified offset. |
void |
register(ViewEditorPane viewEditorPane)
register this ViewEditorHelper for the specified ViewEditorPane. |
boolean |
removeView(View view)
Should provides necessary changes in view and model if the view can be resized. |
java.awt.Dimension |
resizeView(View view,
java.awt.Dimension size)
Should provides necessary changes in view and model if the view can be resized. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ViewEditorPane viewEditorPane
| Constructor Detail |
public DefaultViewEditorHelper()
| Method Detail |
public void register(ViewEditorPane viewEditorPane)
register in interface ViewEditorHelper
public java.awt.Dimension moveView(View view,
java.awt.Dimension offset)
moveView in interface ViewEditorHelper
public java.awt.Dimension resizeView(View view,
java.awt.Dimension size)
resizeView in interface ViewEditorHelper
public View add(java.lang.Object obj,
java.awt.Point location)
add in interface ViewEditorHelperpublic boolean removeView(View view)
removeView in interface ViewEditorHelper
public boolean canAccept(CompositeView composite,
View view)
canAccept in interface ViewEditorHelperpublic boolean isResizable(View view)
isResizable in interface ViewEditorHelper
public java.lang.Object createObject(java.lang.Class clazz,
java.awt.Point pt)
createObject in interface ViewEditorHelperpublic javax.swing.Action[] getActions()
ViewEditorHelper
getActions in interface ViewEditorHelper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||