JIDE 3.5.15

com.jidesoft.gantt
Interface MutableGanttEntry<T>

Type Parameters:
T - The type of the bases unit of the range, for example Date or Integer.
All Superinterfaces:
Expandable, ExpandableRow, GanttEntry<T>, Node, Row
All Known Subinterfaces:
SubEntryGanttEntry<T>
All Known Implementing Classes:
DefaultGanttEntry

public interface MutableGanttEntry<T>
extends GanttEntry<T>

MutableGanttEntry extends GanttEntry and adds setters for the range and the completion.


Field Summary
 
Fields inherited from interface com.jidesoft.gantt.GanttEntry
PROPERTY_ADJUSTING
 
Fields inherited from interface com.jidesoft.grid.Expandable
PROPERTY_EXPANDABLE, PROPERTY_EXPANDED
 
Method Summary
 boolean isCompletionEditable()
           
 boolean isRangeEditable()
           
 void setAdjusting(boolean adjusting)
          Sets the adjusting flag.
 void setCompletion(double completion)
          A double value between [0.0, 1.0] representing the completion of the entry.
 Range<T> setRange(T startInstant, T endInstant)
           
 
Methods inherited from interface com.jidesoft.gantt.GanttEntry
getCompletion, getName, getRange, isAdjusting
 
Methods inherited from interface com.jidesoft.grid.ExpandableRow
notifyCellUpdated
 
Methods inherited from interface com.jidesoft.grid.Expandable
addChild, addChild, addChildren, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildren, getChildrenCount, getNumberOfVisibleExpandable, hasChildren, isExpandable, isExpanded, moveDownChild, moveUpChild, notifyChildDeleted, notifyChildInserted, notifyChildrenDeleted, notifyChildrenInserted, notifyChildrenUpdated, notifyChildUpdated, removeAllChildren, removeChild, removeChildren, setChildren, setExpandable, setExpanded
 
Methods inherited from interface com.jidesoft.grid.Row
cellUpdated, getCellClassAt, getConverterContextAt, getEditorContextAt, getValueAt, isCellEditable, rowUpdated, setValueAt
 
Methods inherited from interface com.jidesoft.grid.Node
getLevel, getNextSibling, getParent, getPreviousSibling, setParent
 

Method Detail

setRange

Range<T> setRange(T startInstant,
                  T endInstant)
Parameters:
startInstant - The new start instant for this GanttEntry.
endInstant - The new end instant for this GanttEntry.
Returns:
Returns the new Range of this GanttEntry.

isRangeEditable

boolean isRangeEditable()
Returns:
Return true to allow this entry's range to be modified by the user.

setCompletion

void setCompletion(double completion)
A double value between [0.0, 1.0] representing the completion of the entry.

Parameters:
completion - The new completion for the GanttEntry.

isCompletionEditable

boolean isCompletionEditable()
Returns:
Return true to allow this entry's completion to be modified by the user.

setAdjusting

void setAdjusting(boolean adjusting)
Sets the adjusting flag. If the flag is true, the values in the GanttEntry are adjusting.

Parameters:
adjusting - true or false.

JIDE 3.5.15