|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.swing.layer.AbstractLayer com.dlsc.flexgantt.swing.layer.system.AbstractSystemLayer com.dlsc.flexgantt.swing.layer.system.EditingLayer
public class EditingLayer
The editing layer manages the editing of timeline objects via editors that
implement the ITimelineObjectEditor
interface. Editors can be
registered in the AbstractGanttChart
. The layer will manage the
editors in such a way that always only one editor is visible at any time.
Field Summary |
---|
Fields inherited from class com.dlsc.flexgantt.swing.layer.AbstractLayer |
---|
alpha, changeSupport, ganttChart, layerContainer, PROPERTY_ALPHA, PROPERTY_VISIBLE |
Constructor Summary | |
---|---|
EditingLayer(LayerContainer lc)
Constructs a new editing layer. |
Method Summary | |
---|---|
void |
editingCanceled(javax.swing.event.ChangeEvent e)
Callback method that gets invoked if the user canceled the editing of a timeline object. |
void |
editingStopped(javax.swing.event.ChangeEvent e)
Callback method that gets invoked if the user stopped the editing of a timeline object. |
java.awt.Component |
getEditorComponent()
Returns the user interface component that is currently being used to edit a timeline object. |
ITimelineObjectEditor |
getTimelineObjectEditor()
Returns the currently used timeline object editor. |
boolean |
isEditing()
Returns TRUE if a timeline object is currently being edited. |
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
removeEditor()
Discards the editor object and frees the real estate. |
Methods inherited from class com.dlsc.flexgantt.swing.layer.AbstractLayer |
---|
addPropertyChangeListener, getAlpha, getDateline, getEventline, getGanttChart, getLayerContainer, getLayerPolicyProvider, getModel, getName, getStartRow, getTimeAt, getTimeline, getTimeLocation, getTimeSpanUsed, getToolTipText, getTreeTable, getTreeTablePolicyProvider, isVisible, paintLayer, removePropertyChangeListener, repaint, repaint, repaint, setAlpha, setVisible, tearDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditingLayer(LayerContainer lc)
lc
- the layer container to which the editing layer belongsMethod Detail |
---|
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void removeEditor()
getTimelineObjectEditor()
public java.awt.Component getEditorComponent()
public boolean isEditing()
public ITimelineObjectEditor getTimelineObjectEditor()
public void editingStopped(javax.swing.event.ChangeEvent e)
ITimelineObjectEditorListener
editingStopped
in interface ITimelineObjectEditorListener
e
- the change event with information about the source of the
callback callpublic void editingCanceled(javax.swing.event.ChangeEvent e)
ITimelineObjectEditorListener
editingCanceled
in interface ITimelineObjectEditorListener
e
- the change event with information about the source of the
callback call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |