|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.tools.Tool
com.steema.teechart.tools.ToolSeries
com.steema.teechart.tools.GanttTool
public class GanttTool
Title: GanttTool class
Description: Gantt Tool.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary | |
---|---|
class |
GanttTool.DragGanttBar
|
Field Summary | |
---|---|
static int |
HANDLE_ALL
|
static int |
HANDLE_END
|
static int |
HANDLE_START
|
Fields inherited from class com.steema.teechart.tools.ToolSeries |
---|
iSeries |
Fields inherited from class com.steema.teechart.tools.Tool |
---|
bBrush, clickTolerance, listenerList, pPen |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
GanttTool()
|
|
GanttTool(IBaseChart c)
|
Method Summary | |
---|---|
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. |
java.awt.Cursor |
getCursorDrag()
The cursor to show when the user is dragging a Gantt bar. |
java.awt.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. |
java.awt.Cursor |
mouseEvent(java.awt.event.MouseEvent e,
java.awt.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(java.awt.Cursor value)
Defines the cursor to show when the user is dragging a Gantt bar. |
void |
setCursorResize(java.awt.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). |
Methods inherited from class com.steema.teechart.tools.ToolSeries |
---|
getHorizAxis, getSeries, getVertAxis, setSeries |
Methods inherited from class com.steema.teechart.tools.Tool |
---|
addMouseMotionListener, chartEvent, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, readResolve, removeMouseMotionListener, setActive, setChart, toString |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int HANDLE_ALL
public static final int HANDLE_START
public static final int HANDLE_END
Constructor Detail |
---|
public GanttTool()
public GanttTool(IBaseChart c)
Method Detail |
---|
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 java.awt.Cursor getCursorDrag()
public void setCursorDrag(java.awt.Cursor value)
value
- Cursorpublic java.awt.Cursor getCursorResize()
public void setCursorResize(java.awt.Cursor value)
value
- Cursorpublic int getMinPixels()
public void setMinPixels(int value)
value
- intpublic java.awt.Cursor mouseEvent(java.awt.event.MouseEvent e, java.awt.Cursor c)
mouseEvent
in class Tool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |