public class GanttTool extends ToolSeries
Title: GanttTool class
Description: Gantt Tool.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
GanttTool.DragGanttBar |
Tool.ToolListener
Modifier and Type | Field and Description |
---|---|
static int |
HANDLE_ALL |
static int |
HANDLE_END |
static int |
HANDLE_START |
iSeries
bBrush, clickTolerance, listenerList, pPen
chart, InternalUse
Constructor and Description |
---|
GanttTool() |
GanttTool(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
addDragListener(DragListener l) |
void |
addSizeListener(SizeListener l) |
boolean |
getAllowDrag()
When true, the end user can use the mouse to click and drag Gantt series
bars.
|
boolean |
getAllowResize()
When true, the end user can use the mouse to resize Gantt series bars.
|
Cursor |
getCursorDrag()
The cursor to show when the user is dragging a Gantt bar.
|
Cursor |
getCursorResize()
The cursor to show when the end user passes the mouse over an
edge (left or right) of a gantt series bar.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
GanttTool.DragGanttBar |
getDragItem() |
Gantt |
getGantt() |
int |
getMinPixels()
The amount in screen pixels to consider the user is moving the
mouse over a gantt bar edge (left or right).
|
java.lang.String |
getSummary()
Gets detailed descriptive text.
|
Cursor |
mouseEvent(FrameworkMouseEvent e,
Cursor c) |
void |
removeDragListener(DragListener l) |
void |
removeSizeListener(SizeListener l) |
void |
setAllowDrag(boolean value) |
void |
setAllowResize(boolean value)
When true, the end user can use the mouse to resize Gantt series bars.
|
void |
setCursorDrag(Cursor value)
Defines the cursor to show when the user is dragging a Gantt bar.
|
void |
setCursorResize(Cursor value)
Defines the cursor to show when the end user passes the mouse over an
edge (left or right) of a gantt series bar.
|
void |
setMinPixels(int value)
Defines the amount in screen pixels to consider the user is moving the
mouse over a gantt bar edge (left or right).
|
getHorizAxis, getSeries, getVertAxis, setSeries
addMouseMotionListener, addToolListener, chartEvent, dispose, fireActiveChanged, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, readResolve, removeMouseMotionListener, removeToolListener, setActive, setChart, toString
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public static final int HANDLE_ALL
public static final int HANDLE_START
public static final int HANDLE_END
public GanttTool()
public GanttTool(IBaseChart c)
public void addSizeListener(SizeListener l)
public void removeSizeListener(SizeListener l)
public void addDragListener(DragListener l)
public void removeDragListener(DragListener l)
public java.lang.String getDescription()
getDescription
in class Tool
public java.lang.String getSummary()
getSummary
in class Tool
public Gantt getGantt()
public GanttTool.DragGanttBar getDragItem()
public boolean getAllowDrag()
public void setAllowDrag(boolean value)
public boolean getAllowResize()
public void setAllowResize(boolean value)
value
- booleanpublic Cursor getCursorDrag()
public void setCursorDrag(Cursor value)
value
- Cursorpublic Cursor getCursorResize()
public void setCursorResize(Cursor value)
value
- Cursorpublic int getMinPixels()
public void setMinPixels(int value)
value
- intpublic Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent
in class Tool