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.
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 |
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.