com.jidesoft.gantt
Interface SubEntryGanttEntry<T>
- Type Parameters:
T
- The type of the bases unit of the range, for example Date or Integer.
- All Superinterfaces:
- Expandable, ExpandableRow, GanttEntry<T>, MutableGanttEntry<T>, Node, Row
- All Known Implementing Classes:
- DefaultGanttEntry
public interface SubEntryGanttEntry<T>
- extends MutableGanttEntry<T>
SubEntryGanttEntry
is an interface to divide up a single GanttEntry in multiple entries on a row.
The typically use case for sub entries is for resource planning were a row/entry represent a worker or a machine and
the sub entries represent the periods where that resource is busy/working.
The child entries and sub entry of a GanttEntry returned from getSubEntries() are ignored
and typically most methods of the GanttModel or GanttChart don't work for them (for example indexOf(subEntry) would return -1).
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 |
getSubEntries
List<GanttEntry<T>> getSubEntries()
- Gets all sub entries of this GanttEntry.
- Returns:
- the sub entry array.
- See Also:
setSubEntries(java.util.List)
setSubEntries
void setSubEntries(List<GanttEntry<T>> subEntries)
- Sets all sub entries of this GanttEntry.
- Parameters:
subEntries
- the sub entry array
addSubEntry
void addSubEntry(GanttEntry<T> entry)
- Adds one sub entry.
- Parameters:
entry
- the sub entry- See Also:
removeSubEntry(GanttEntry)
removeSubEntry
void removeSubEntry(GanttEntry<T> entry)
- Removes one sub entry.
- Parameters:
entry
- the sub entry