public abstract class AbstractGridHeaderMouseHandler
extends javax.swing.event.MouseInputAdapter
限定符和类型 | 字段和说明 |
---|---|
protected int |
resolution |
protected static int |
SEPARATOR_GAP |
构造器和说明 |
---|
AbstractGridHeaderMouseHandler(GridHeader gHeader) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract boolean |
between(java.awt.event.MouseEvent evt,
double from,
double to) |
protected abstract UIPopupMenu |
createPopupMenu(ElementCasePane ePane,
java.awt.event.MouseEvent evt,
int index) |
protected abstract int |
doChooseFrom() |
protected abstract int |
evtOffset(java.awt.event.MouseEvent evt,
int offset) |
protected abstract int |
getBeginValue(ElementCasePane casePane) |
protected abstract int |
getColumnOrRowByGridHeader(ColumnRow selectedCellPoint) |
protected abstract int[] |
getGridSelectionIndices(CellSelection cs) |
protected abstract int |
getScrollExtent(ElementCasePane casePane) |
protected abstract int |
getScrollValue(ElementCasePane casePane) |
protected abstract java.lang.String |
getSelectedHeaderTooltip(int selectedSize) |
protected abstract DynamicUnitList |
getSizeList(ElementCase elCase) |
protected abstract java.awt.Point |
getTipLocationByMouseEvent(java.awt.event.MouseEvent evt,
GridHeader gHeader,
java.awt.Dimension tipPreferredSize) |
protected abstract boolean |
isOnNormalSeparatorLine(java.awt.event.MouseEvent evt,
double tmpSize2)
Checks whether is on normal separator line.
|
protected abstract boolean |
isOnSeparatorLineIncludeZero(java.awt.event.MouseEvent evt,
double tmpSize2,
double tmpIncreaseSize)
Checks whether is on zero separator line.
|
protected abstract java.lang.String |
methodName() |
void |
mouseDragged(java.awt.event.MouseEvent evt) |
void |
mouseMoved(java.awt.event.MouseEvent evt) |
void |
mousePressed(java.awt.event.MouseEvent evt)
Invoked when a mouse button has been pressed on a component.
|
void |
mouseReleased(java.awt.event.MouseEvent evt) |
protected abstract java.lang.String |
nameOfMoveCursorGIF() |
protected abstract java.lang.String |
nameOfSelectCursorGIF() |
protected abstract java.lang.String |
nameOfSplitCursorGIF() |
protected abstract void |
resetGridSelectionByDrag(CellSelection gridSelection,
ElementCasePane reportPane,
int startMultiSelectIndex,
int endMultiSelectIndex) |
protected abstract void |
resetGridSelectionBySelect(int index,
ElementCasePane ePane) |
protected abstract java.awt.Rectangle |
resetSelectedBoundsByShift(java.awt.Rectangle editRectangle,
ColumnRow selectedCellPoint,
ElementCasePane ePane) |
protected abstract void |
resetSelectionByRightButton(ColumnRow mouseSelectedColumnRow,
Selection cs,
ElementCasePane ePane) |
void |
setEndMultiSelectIndex(int index) |
void |
setStartMultiSelectIndex(int index) |
protected static final int SEPARATOR_GAP
protected int resolution
public AbstractGridHeaderMouseHandler(GridHeader gHeader)
public void setStartMultiSelectIndex(int index)
public void setEndMultiSelectIndex(int index)
protected abstract DynamicUnitList getSizeList(ElementCase elCase)
protected abstract java.lang.String methodName()
protected abstract int getScrollValue(ElementCasePane casePane)
protected abstract int getScrollExtent(ElementCasePane casePane)
protected abstract int getBeginValue(ElementCasePane casePane)
protected abstract java.lang.String getSelectedHeaderTooltip(int selectedSize)
protected abstract boolean isOnSeparatorLineIncludeZero(java.awt.event.MouseEvent evt, double tmpSize2, double tmpIncreaseSize)
protected abstract boolean between(java.awt.event.MouseEvent evt, double from, double to)
protected abstract boolean isOnNormalSeparatorLine(java.awt.event.MouseEvent evt, double tmpSize2)
protected abstract UIPopupMenu createPopupMenu(ElementCasePane ePane, java.awt.event.MouseEvent evt, int index)
public void mousePressed(java.awt.event.MouseEvent evt)
mousePressed
在接口中 java.awt.event.MouseListener
mousePressed
在类中 java.awt.event.MouseAdapter
protected abstract void resetSelectionByRightButton(ColumnRow mouseSelectedColumnRow, Selection cs, ElementCasePane ePane)
protected abstract int doChooseFrom()
protected abstract java.awt.Rectangle resetSelectedBoundsByShift(java.awt.Rectangle editRectangle, ColumnRow selectedCellPoint, ElementCasePane ePane)
protected abstract void resetGridSelectionBySelect(int index, ElementCasePane ePane)
protected abstract java.awt.Point getTipLocationByMouseEvent(java.awt.event.MouseEvent evt, GridHeader gHeader, java.awt.Dimension tipPreferredSize)
public void mouseReleased(java.awt.event.MouseEvent evt)
mouseReleased
在接口中 java.awt.event.MouseListener
mouseReleased
在类中 java.awt.event.MouseAdapter
protected abstract int[] getGridSelectionIndices(CellSelection cs)
public void mouseDragged(java.awt.event.MouseEvent evt)
mouseDragged
在接口中 java.awt.event.MouseMotionListener
mouseDragged
在类中 java.awt.event.MouseAdapter
protected abstract void resetGridSelectionByDrag(CellSelection gridSelection, ElementCasePane reportPane, int startMultiSelectIndex, int endMultiSelectIndex)
protected abstract int evtOffset(java.awt.event.MouseEvent evt, int offset)
protected abstract int getColumnOrRowByGridHeader(ColumnRow selectedCellPoint)
public void mouseMoved(java.awt.event.MouseEvent evt)
mouseMoved
在接口中 java.awt.event.MouseMotionListener
mouseMoved
在类中 java.awt.event.MouseAdapter
protected abstract java.lang.String nameOfSelectCursorGIF()
protected abstract java.lang.String nameOfSplitCursorGIF()
protected abstract java.lang.String nameOfMoveCursorGIF()