| graphical.MouseOverGridView graphical.DragIGREView
Constructor Summary | |
public | DragIGREView() Constructs an empty DragIGRSView. | public | DragIGREView(Rect rect) Constructs a DragIGRSView with bounds rect. | public | DragIGREView(Rect rect, int dragSourcePolicy, int dragDestinationPolicy, Image dragImage, IGrid igrid) Constructs a DragIGRSView with bounds rect. | public | DragIGREView(int x, int y, int width, int height) Constructs an empty DragIGRSView with the given bounds. | public | DragIGREView(int x, int y, int width, int height, int dragSourcePolicy, int dragDestinationPolicy, Image dragImage, IGrid igrid) Constructs an empty DragIGRSView with the given bounds. |
Method Summary | |
public DragDestination | acceptsDrag(DragSession ds, int x, int y) | public boolean | canResizeColumn(int c) Can the column be resized?
Sure, if it isn't the icon/0 column. | public int | columnWidth(int c) | public boolean | dragDropped(DragSession ds) | public boolean | dragEntered(DragSession ds) | public void | dragExited(DragSession ds) | public boolean | dragMoved(DragSession ds) | public void | dragWasAccepted(DragSession ds) | public boolean | dragWasRejected(DragSession ds) | public boolean | editable(int r, int c) | public Target | getDestinationTarget() | public Image | getDragImage() | public DragPolicyContext | getDragPolicyContext() | public boolean | getEditableCell(int r, int c) | public boolean | getEditableColumn(int c) | public boolean | getEditableRow(int r) | public boolean | getEditableView() getEditableView - This class supports both editable and non-editable views.
This method returns the current editable state of the view. | public Target | getSourceTarget() | public boolean | mouseDown(MouseEvent e) | public void | mouseDragged(MouseEvent e) | public void | onDoubleClickRow(int r) onDoubleClickRow - Intercept double click on a row,
to open property window. | public void | onPressCell(int r, int c) onPressCell - Intercept single click on a row,
to refresh propertyWindow if open. | public void | onPressRowLabel(int r) onPressRowLabel - Intercept mouse down on row and defer selection to mouse
up if the row is already selected. | public void | onReleaseRowLabel(int r) onReleaseRowLabel - Intercept mouse up on row and if the down was deferred
do it now. | public void | onSlideRowLabel(int r) onSlideRowLabel - Intercept mouse drag and if the mouse down was deferred,
skip the drag. | public void | setColumnWidth(int c, int w) | public void | setDestinationTarget(Target t) | public void | setDragDestinationPolicy(int dragDestinationPolicy) | public void | setDragImage(Image dragImage) | public void | setDragSourcePolicy(int dragSourcePolicy) | public void | setEditableCell(int r, int c, boolean b) | public void | setEditableColumn(int c, boolean b) | public void | setEditableRow(int r, boolean b) | public void | setEditableView(boolean editableView) setEditableView - This class supports both editable and non-editable views.
This method sets the current editable state of the view. | public void | setGrid(IGrid g) | public void | setSelectionCommand(String singleCommand, String doubleCommand) setSelectionCommand - set single/doubleclick command. | public void | setSelectionTarget(Target target) setSelectionTarget - set SINGLE/doubleclick target. | public void | setSourceTarget(Target t) | public View | sourceView(DragSession ds) |
DragIGREView | public DragIGREView()(Code) | | Constructs an empty DragIGRSView.
|
DragIGREView | public DragIGREView(Rect rect)(Code) | | Constructs a DragIGRSView with bounds rect.
Parameters: rect - rectangle |
DragIGREView | public DragIGREView(Rect rect, int dragSourcePolicy, int dragDestinationPolicy, Image dragImage, IGrid igrid)(Code) | | Constructs a DragIGRSView with bounds rect.
Parameters: rect - rectangle Parameters: dragSourcePolicy - drag source policy Parameters: dragDestinationPolicy - drag destination policy Parameters: dragImage - drag image Parameters: IGrid - grid |
DragIGREView | public DragIGREView(int x, int y, int width, int height)(Code) | | Constructs an empty DragIGRSView with the given bounds.
Parameters: x - x Parameters: y - y Parameters: width - width Parameters: height - height |
DragIGREView | public DragIGREView(int x, int y, int width, int height, int dragSourcePolicy, int dragDestinationPolicy, Image dragImage, IGrid igrid)(Code) | | Constructs an empty DragIGRSView with the given bounds.
Parameters: x - x Parameters: y - y Parameters: width - width Parameters: height - height Parameters: dragSourcePolicy - drag source policy Parameters: dragDestinationPolicy - drag destination policy Parameters: dragImage - drag image Parameters: IGrid - grid |
acceptsDrag | public DragDestination acceptsDrag(DragSession ds, int x, int y)(Code) | | |
canResizeColumn | public boolean canResizeColumn(int c)(Code) | | Can the column be resized?
Sure, if it isn't the icon/0 column.
Parameters: c - column |
columnWidth | public int columnWidth(int c)(Code) | | |
dragDropped | public boolean dragDropped(DragSession ds)(Code) | | |
dragEntered | public boolean dragEntered(DragSession ds)(Code) | | |
dragExited | public void dragExited(DragSession ds)(Code) | | |
dragMoved | public boolean dragMoved(DragSession ds)(Code) | | |
dragWasAccepted | public void dragWasAccepted(DragSession ds)(Code) | | |
dragWasRejected | public boolean dragWasRejected(DragSession ds)(Code) | | |
editable | public boolean editable(int r, int c)(Code) | | |
getDestinationTarget | public Target getDestinationTarget()(Code) | | |
getDragImage | public Image getDragImage()(Code) | | |
getEditableCell | public boolean getEditableCell(int r, int c)(Code) | | |
getEditableColumn | public boolean getEditableColumn(int c)(Code) | | |
getEditableRow | public boolean getEditableRow(int r)(Code) | | |
getEditableView | public boolean getEditableView()(Code) | | getEditableView - This class supports both editable and non-editable views.
This method returns the current editable state of the view. (MCW)
|
getSourceTarget | public Target getSourceTarget()(Code) | | |
mouseDown | public boolean mouseDown(MouseEvent e)(Code) | | |
mouseDragged | public void mouseDragged(MouseEvent e)(Code) | | |
onDoubleClickRow | public void onDoubleClickRow(int r)(Code) | | onDoubleClickRow - Intercept double click on a row,
to open property window. (MCW)
|
onPressCell | public void onPressCell(int r, int c)(Code) | | onPressCell - Intercept single click on a row,
to refresh propertyWindow if open. (MCW)
|
onPressRowLabel | public void onPressRowLabel(int r)(Code) | | onPressRowLabel - Intercept mouse down on row and defer selection to mouse
up if the row is already selected. Used to support multiple drag.
|
onReleaseRowLabel | public void onReleaseRowLabel(int r)(Code) | | onReleaseRowLabel - Intercept mouse up on row and if the down was deferred
do it now. Used to support multiple drag.
|
onSlideRowLabel | public void onSlideRowLabel(int r)(Code) | | onSlideRowLabel - Intercept mouse drag and if the mouse down was deferred,
skip the drag. Used to support multiple drag.
|
setColumnWidth | public void setColumnWidth(int c, int w)(Code) | | |
setDestinationTarget | public void setDestinationTarget(Target t)(Code) | | |
setDragImage | public void setDragImage(Image dragImage)(Code) | | |
setEditableCell | public void setEditableCell(int r, int c, boolean b)(Code) | | |
setEditableColumn | public void setEditableColumn(int c, boolean b)(Code) | | |
setEditableRow | public void setEditableRow(int r, boolean b)(Code) | | |
setEditableView | public void setEditableView(boolean editableView)(Code) | | setEditableView - This class supports both editable and non-editable views.
This method sets the current editable state of the view. (MCW)
|
setGrid | public void setGrid(IGrid g)(Code) | | |
setSelectionCommand | public void setSelectionCommand(String singleCommand, String doubleCommand)(Code) | | setSelectionCommand - set single/doubleclick command. (mcw)
|
setSelectionTarget | public void setSelectionTarget(Target target)(Code) | | setSelectionTarget - set SINGLE/doubleclick target. (mcw)
|
setSourceTarget | public void setSourceTarget(Target t)(Code) | | |
sourceView | public View sourceView(DragSession ds)(Code) | | |
Methods inherited from graphical.MouseOverGridView | public void drawPopup()(Code)(Java Doc) public void hidePopup()(Code)(Java Doc) public int iconColumn()(Code)(Java Doc) public boolean mouseDown(MouseEvent mouseEvent)(Code)(Java Doc) public void mouseMoved(MouseEvent mouseEvent)(Code)(Java Doc) public Image normalIcon()(Code)(Java Doc) public void onMouseOverCell(int cellRow, int cellColumn, int mouseRow, int mouseColumn)(Code)(Java Doc) public void onPressCell(int r, int c)(Code)(Java Doc) public void paintCellBackground(Graphics g, int r, int c, Rect rect)(Code)(Java Doc) public void paintCellForeground(Graphics g, int r, int c, Rect rect)(Code)(Java Doc) public void performCommand(String command, Object arg)(Code)(Java Doc) public int popdownDelay()(Code)(Java Doc) public boolean popupAlways()(Code)(Java Doc) public Color popupBackgroundColor()(Code)(Java Doc) public int popupDelay()(Code)(Java Doc) public Font popupFont()(Code)(Java Doc) public Color popupTextColor()(Code)(Java Doc) public Image selectedIcon()(Code)(Java Doc) public void setDragRow(int r)(Code)(Java Doc) public void setIconColumn(int c)(Code)(Java Doc) public void setNormalIcon(Image icon)(Code)(Java Doc) public void setPopdownDelay(int delay)(Code)(Java Doc) public void setPopupAlways(boolean flag)(Code)(Java Doc) public void setPopupBackgroundColor(Color color)(Code)(Java Doc) public void setPopupDelay(int delay)(Code)(Java Doc) public void setPopupFont(Font font)(Code)(Java Doc) public void setPopupTextColor(Color color)(Code)(Java Doc) public void setSelectedIcon(Image icon)(Code)(Java Doc) public void setUrlColor(Color color)(Code)(Java Doc) public void setUrlColumn(int c)(Code)(Java Doc) public void setUrlRow(int r)(Code)(Java Doc) public void setUrlRowColumn(int r, int c)(Code)(Java Doc) public Color textColor(int r, int c)(Code)(Java Doc) public Color urlColor()(Code)(Java Doc) public int urlColumn()(Code)(Java Doc) public int urlRow()(Code)(Java Doc)
|
|
|