|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface View
Interface for viewers. Objects implementing this interface must be a subclass of java.awt.Component.
| Field Summary | |
|---|---|
static java.lang.String |
REQUEST_INFO_UPDATE_PROPERTY
|
| Method Summary | |
|---|---|
void |
addDropTargetListener(java.awt.dnd.DropTargetListener listener)
This method adds the given drop target listener to all components of the viewer. |
void |
dispose()
Disposes all resources allocated by this viewer. |
boolean |
hasScrollPane()
Returns true if this viewer has a scrollpane of its own. |
void |
init()
This method must be called after the view has been added to the parent component. |
void |
mergeSettingsMenuItems(javax.swing.JMenu m)
Merges menu items of this viewer into the "Settings" menu of the container of this viewer. |
void |
mergeViewMenuItems(javax.swing.JMenu viewMenu)
Merges menu items of this viewer into the "View" menu of the container of this viewer. |
void |
setApplicationProperties(PropertyModel model)
Sets the model object for shared application properties. |
void |
setViewProperties(PropertyModel model)
Sets the model object for shared view properties. |
| Methods inherited from interface javax.activation.CommandObject |
|---|
setCommandContext |
| Field Detail |
|---|
static final java.lang.String REQUEST_INFO_UPDATE_PROPERTY
| Method Detail |
|---|
void mergeViewMenuItems(javax.swing.JMenu viewMenu)
void mergeSettingsMenuItems(javax.swing.JMenu m)
void setViewProperties(PropertyModel model)
void setApplicationProperties(PropertyModel model)
boolean hasScrollPane()
void init()
void addDropTargetListener(java.awt.dnd.DropTargetListener listener)
void dispose()
dispose in interface org.jhotdraw.app.Disposable
|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||