public class GridColumnMouseHandler extends AbstractGridHeaderMouseHandler
SEPARATOR_GAP
构造器和说明 |
---|
GridColumnMouseHandler(GridColumn gridColumn) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
between(java.awt.event.MouseEvent evt,
double from,
double to) |
protected UIPopupMenu |
createPopupMenu(ElementCasePane reportPane,
java.awt.event.MouseEvent evt,
int columnIndex) |
protected int |
doChooseFrom() |
protected int |
evtOffset(java.awt.event.MouseEvent evt,
int offset) |
protected int |
getBeginValue(ElementCasePane casePane) |
protected int |
getColumnOrRowByGridHeader(ColumnRow selectedCellPoint) |
protected int[] |
getGridSelectionIndices(CellSelection cs) |
protected int |
getScrollExtent(ElementCasePane casePane) |
protected int |
getScrollValue(ElementCasePane casePane) |
protected java.lang.String |
getSelectedHeaderTooltip(int selectedColumnCount) |
protected DynamicUnitList |
getSizeList(ElementCase elementCase) |
protected java.awt.Point |
getTipLocationByMouseEvent(java.awt.event.MouseEvent evt,
GridHeader gHeader,
java.awt.Dimension tipPreferredSize) |
protected boolean |
isOnNormalSeparatorLine(java.awt.event.MouseEvent evt,
double tmpWidth2)
Checks whether is on normal separator line.
|
protected boolean |
isOnSeparatorLineIncludeZero(java.awt.event.MouseEvent evt,
double tmpWidth2,
double tmpIncreaseWidth)
Checks whether is on zero separator line.
|
protected java.lang.String |
methodName() |
protected java.lang.String |
nameOfMoveCursorGIF() |
protected java.lang.String |
nameOfSelectCursorGIF() |
protected java.lang.String |
nameOfSplitCursorGIF() |
protected void |
resetGridSelectionByDrag(CellSelection gridSelection,
ElementCasePane reportPane,
int startMultiSelectIndex,
int endMultiSelectIndex) |
protected void |
resetGridSelectionBySelect(int column,
ElementCasePane ePane) |
protected java.awt.Rectangle |
resetSelectedBoundsByShift(java.awt.Rectangle editRectangle,
ColumnRow selectedCellPoint,
ElementCasePane reportPane) |
protected void |
resetSelectionByRightButton(ColumnRow selectedCellPoint,
Selection cs,
ElementCasePane ePane) |
void |
setResolution(int resolution) |
mouseDragged, mouseMoved, mousePressed, mouseReleased, setEndMultiSelectIndex, setStartMultiSelectIndex
public GridColumnMouseHandler(GridColumn gridColumn)
public void setResolution(int resolution)
protected void resetSelectionByRightButton(ColumnRow selectedCellPoint, Selection cs, ElementCasePane ePane)
protected int doChooseFrom()
protected java.awt.Rectangle resetSelectedBoundsByShift(java.awt.Rectangle editRectangle, ColumnRow selectedCellPoint, ElementCasePane reportPane)
protected int[] getGridSelectionIndices(CellSelection cs)
protected int getScrollValue(ElementCasePane casePane)
protected int getScrollExtent(ElementCasePane casePane)
protected int getBeginValue(ElementCasePane casePane)
protected int getColumnOrRowByGridHeader(ColumnRow selectedCellPoint)
protected boolean isOnSeparatorLineIncludeZero(java.awt.event.MouseEvent evt, double tmpWidth2, double tmpIncreaseWidth)
protected boolean between(java.awt.event.MouseEvent evt, double from, double to)
between
在类中 AbstractGridHeaderMouseHandler
protected boolean isOnNormalSeparatorLine(java.awt.event.MouseEvent evt, double tmpWidth2)
protected int evtOffset(java.awt.event.MouseEvent evt, int offset)
evtOffset
在类中 AbstractGridHeaderMouseHandler
protected DynamicUnitList getSizeList(ElementCase elementCase)
protected java.lang.String methodName()
methodName
在类中 AbstractGridHeaderMouseHandler
protected java.lang.String getSelectedHeaderTooltip(int selectedColumnCount)
protected java.awt.Point getTipLocationByMouseEvent(java.awt.event.MouseEvent evt, GridHeader gHeader, java.awt.Dimension tipPreferredSize)
protected void resetGridSelectionBySelect(int column, ElementCasePane ePane)
protected java.lang.String nameOfMoveCursorGIF()
protected java.lang.String nameOfSelectCursorGIF()
protected java.lang.String nameOfSplitCursorGIF()
protected UIPopupMenu createPopupMenu(ElementCasePane reportPane, java.awt.event.MouseEvent evt, int columnIndex)
protected void resetGridSelectionByDrag(CellSelection gridSelection, ElementCasePane reportPane, int startMultiSelectIndex, int endMultiSelectIndex)