|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.IlvSelection
ilog.views.IlvHandlesSelection
ilog.views.gantt.graphic.interactor.IlvActivityGraphicSelection
public class IlvActivityGraphicSelection
An IlvActivityGraphicSelection object is the default
selection object for IlvActivityGraphic.
This class draws two handles, respectively to the right and to the left of
the bounding rectangle of the activity graphic to show that it is selected.
You can edit the start and end time of the activity
by moving these handles.
The edition interactor that allows you to move the handles is
the class IlvActivityGraphicReshapeInteractor.
| Field Summary |
|---|
| Fields inherited from class ilog.views.IlvHandlesSelection |
|---|
CIRCLE_SHAPE, defaultHandleBackgroundColor, defaultHandleColor, defaultHandleShape, defaultHandleSize, FILLED_CIRCLE_SHAPE, FILLED_SQUARE_SHAPE, SQUARE_SHAPE |
| Constructor Summary | |
|---|---|
IlvActivityGraphicSelection(IlvActivityGraphic obj)
Creates a new selection object for the specified activity graphic. |
|
| Method Summary | |
|---|---|
protected int |
direction(IlvPoint tp,
IlvTransformer t)
Returns the direction corresponding to a specified point. |
String |
getDefaultInteractor()
Gets the name of the edition interactor for this class. |
IlvPoint |
getHandle(int i,
IlvTransformer t)
Returns the position of the handle at the specified index. |
int |
getHandleCardinal()
Returns the number of handles (the number here is 2). |
| Methods inherited from class ilog.views.IlvHandlesSelection |
|---|
afterLoopAllHandles, beforeLoopAllHandles, boundingBox, contains, draw, drawWithoutHandles, getActiveHandlesColor, getHandle, getHandlesColor, getHandlesShape, getHandlesSize, isActive, onEnter, onExit, setActiveHandlesColor, setHandlesColor, setHandlesShape, setHandlesSize, zoomable |
| Methods inherited from class ilog.views.IlvSelection |
|---|
applyTransform, copy, getObject, isOptimizedDrawingEnabled, isVisible, SetDefaultInteractor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvActivityGraphicSelection(IlvActivityGraphic obj)
obj - the selected activity graphic.| Method Detail |
|---|
public String getDefaultInteractor()
IlvActivityGraphicReshapeInteractor class name.
getDefaultInteractor in class IlvSelectionString representing the interactor class name.IlvReshapeSelection,
IlvSelection.SetDefaultInteractor(java.lang.String)
protected int direction(IlvPoint tp,
IlvTransformer t)
IlvDirection.BadPosition.
tp - the point.t - the transformer used to draw the object.
IlvDirectionpublic int getHandleCardinal()
getHandleCardinal in class IlvHandlesSelection
public IlvPoint getHandle(int i,
IlvTransformer t)
getHandle in class IlvHandlesSelectioni - the handle index.t - the transformer used to draw the object.
IlvPoint, position of the handle.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||