|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.gantt.graphic.IlvGanttRow
public class IlvGanttRow
An IlvGanttRow object is the container for
IlvActivityGraphics in an IlvGanttSheet. Each row in the
IlvGanttSheet is managed by an IlvGanttRow object.
IlvGanttRow is not an IlvGraphic subclass.
| Method Summary | |
|---|---|
boolean |
contains(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Tests if the row contains the given IlvPoint. |
IlvActivityGraphic |
getActivityGraphic(IlvActivity activity)
Returns the activity graphic representing the given activity. |
IlvActivityGraphic |
getActivityGraphic(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Gets the activity graphic at the given position. |
IlvActivityGraphic |
getActivityGraphic(int index)
Returns the activity graphic at the given index. |
int |
getActivityGraphicCount()
Returns the number of activity graphics contained in this row. |
int |
getActivityGraphicIndex(IlvActivityGraphic graphic)
Returns the index of the specified activity graphic. |
IlvActivityGraphic[] |
getActivityGraphics()
Returns an array of the activity graphics in the row. |
float |
getActivityHeight()
Deprecated. Beginning with ILOG JViews 6.0 the height of activity graphics is determined by the row's activity layout
strategy. |
IlvActivityLayout |
getActivityLayout()
Returns the activity layout of the row. |
float |
getBottom()
Gets the bottom of the row. |
float |
getHeight()
Returns the height of the row. |
Object |
getIdentifier()
Returns the row's unique key identifier. |
IlvReservationGraphic |
getReservationGraphic(IlvReservation reservation)
Returns the reservation graphic representing the given reservation. |
IlvTimeConverter |
getTimeConverter()
Returns the time converter of the row. |
float |
getTop()
Gets the top of the row. |
float |
getTopMargin()
Deprecated. Beginning with ILOG JViews 6.0 you should use IlvActivitySimpleLayout.getTopMargin() instead}. |
boolean |
isVisible()
Returns the visibility of the row. |
void |
setActivityGraphicIndex(IlvActivityGraphic graphic,
int index)
Sets the index of the specified activity graphic. |
void |
setActivityLayout(IlvActivityLayout activityLayout)
Sets the activity layout of the row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Object getIdentifier()
public IlvTimeConverter getTimeConverter()
public int getActivityGraphicCount()
public IlvActivityGraphic getActivityGraphic(int index)
index - The position of the activity graphic.
The first graphic has a zero index.
getActivityGraphicIndex(ilog.views.gantt.graphic.IlvActivityGraphic),
setActivityGraphicIndex(ilog.views.gantt.graphic.IlvActivityGraphic, int)public IlvActivityGraphic[] getActivityGraphics()
public IlvActivityGraphic getActivityGraphic(IlvActivity activity)
activity - The given activity
null if not found.
public IlvActivityGraphic getActivityGraphic(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
p - The point from where the search will start.tp - The transformed p pointt - The transformer through which the set will be drawn.
public IlvReservationGraphic getReservationGraphic(IlvReservation reservation)
reservation - The reservation provided
public int getActivityGraphicIndex(IlvActivityGraphic graphic)
graphic - The specified activity graphic that must be in this row.
-1 if the
activity graphic is not in this row.setActivityGraphicIndex(ilog.views.gantt.graphic.IlvActivityGraphic, int)
public void setActivityGraphicIndex(IlvActivityGraphic graphic,
int index)
Note: If the activity layout of the Gantt sheet is set to
PRETTY_ACTIVITY_LAYOUT, this method has no effect
because the Z-order of the activity graphics is computed by
the activity layout.
graphic - The specified activity graphic that must be in this row.index - The new index of the given activity graphic.getActivityGraphicIndex(ilog.views.gantt.graphic.IlvActivityGraphic),
IlvGanttSheet.setActivityLayout(ilog.views.gantt.graphic.IlvActivityLayout)public final IlvActivityLayout getActivityLayout()
public void setActivityLayout(IlvActivityLayout activityLayout)
activityLayout - The activity layout or null for the
row to use the activity layout of the Gantt sheet.public float getTopMargin()
IlvActivitySimpleLayout.getTopMargin() instead}.
public float getActivityHeight()
activity layout
strategy.
public float getTop()
public float getBottom()
public float getHeight()
public boolean contains(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
public boolean isVisible()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||