|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimelineObjectEditor
An interface for editors that can be used for in-place editing of timeline objects. The editor component will not be shown in a dialog but directly inside the Gantt chart.
Method Summary | |
---|---|
void |
addTimelineObjectEditorListener(ITimelineObjectEditorListener l)
Adds a listener to the editor that will be informed if the user stopped or canceled the editing from within the editor component. |
void |
cancelEditing()
Callback method for the timeline layer to indicate to the editor that the user has canceled the editing of the timeline object. |
java.awt.Component |
getTimelineObjectEditorComponent(EditingLayer layer,
java.lang.Object treeNode,
java.lang.Object timelineObject)
Returns the actual editor component for the given tree node and timeline object. |
void |
removeTimelineObjectEditorListener(ITimelineObjectEditorListener l)
Removes a listener from the editor. |
boolean |
stopEditing()
Callback method for the timeline layer to indicate to the editor that the user has finished the editing of the timeline object. |
Method Detail |
---|
java.awt.Component getTimelineObjectEditorComponent(EditingLayer layer, java.lang.Object treeNode, java.lang.Object timelineObject)
layer
- the layer that will display the editortreeNode
- the owner of the timeline objecttimelineObject
- the timeline object that will be edited
boolean stopEditing()
cancelEditing()
void cancelEditing()
stopEditing()
void addTimelineObjectEditorListener(ITimelineObjectEditorListener l)
l
- the listener to addvoid removeTimelineObjectEditorListener(ITimelineObjectEditorListener l)
l
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |