com.jidesoft.gantt
Interface GanttEntry<T>
- Type Parameters:
T
- The type of the bases unit of the range, for example Date or Integer.
- All Superinterfaces:
- Expandable, ExpandableRow, Node, Row
- All Known Subinterfaces:
- MutableGanttEntry<T>, SubEntryGanttEntry<T>
- All Known Implementing Classes:
- DefaultGanttEntry
public interface GanttEntry<T>
- extends ExpandableRow
GanttEntry
represents an entry in a gantt chart. It has an unique ID within the same gantt chart. It has
a start and end value. The value could be a date, time or an int value, depending on the use case. It also has a
completion value which is the percentage of the completion.
- See Also:
MutableGanttEntry
,
DefaultGanttEntry
Method Summary |
double |
getCompletion()
Gets the percentage of completion as a double value between 0.0 and 1.0. |
String |
getName()
Gets the name of the entry. |
Range<T> |
getRange()
Gets the range for this entry. |
boolean |
isAdjusting()
Checks if the entry is adjusting. |
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 |
PROPERTY_ADJUSTING
static final String PROPERTY_ADJUSTING
- See Also:
- Constant Field Values
getName
String getName()
- Gets the name of the entry. The name will be displayed on the gantt table.
- Returns:
- the name of the entry
getRange
Range<T> getRange()
- Gets the range for this entry.
NOTE: the range can be null and the range's upper and/or lower boundary can be null!
- Returns:
- the range.
getCompletion
double getCompletion()
- Gets the percentage of completion as a double value between 0.0 and 1.0.
- Returns:
- the percentage of completion.
isAdjusting
boolean isAdjusting()
- Checks if the entry is adjusting.
- Returns:
- true or false.