public class IntelliElements
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
ACTION_REPLICATION |
static int |
ACTION_SEQUENCING |
static int |
DIRECTION_DOWN_TO_UP |
static int |
DIRECTION_LEFT_TO_RIGHT |
static int |
DIRECTION_RIGHT_TO_LEFT |
static int |
DIRECTION_UNDEF |
static int |
DIRECTION_UP_TO_DOWN |
static int |
FORMULA_HOR_PARA_SAME |
static int |
FORMULA_NONE_PARA_SAME |
static int |
FORMULA_VER_PARA_SAME |
构造器和说明 |
---|
IntelliElements(ElementCasePane reportPane,
java.awt.Rectangle oldCellRectangle,
java.awt.Rectangle dragCellRectangle)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
void |
doIntelliAction()
Auto-generating elements in the drag region according to those in the old region
This is one of the few public methods of this inner class
|
static void |
iterating(ElementCasePane reportPane,
java.awt.Rectangle oldCellRectangle,
java.awt.Rectangle dragCellRectangle)
Intelligent response to user's dragging right bottom of a cell selection region
|
void |
setAction(int action)
Specify the action when this drag operation
|
void |
setStyleSupported(boolean isStyleSupported)
Specify if copy/sequence both content and style, or simply do it for content only
|
public static final int DIRECTION_UNDEF
public static final int DIRECTION_UP_TO_DOWN
public static final int DIRECTION_DOWN_TO_UP
public static final int DIRECTION_LEFT_TO_RIGHT
public static final int DIRECTION_RIGHT_TO_LEFT
public static final int ACTION_SEQUENCING
public static final int ACTION_REPLICATION
public static final int FORMULA_NONE_PARA_SAME
public static final int FORMULA_HOR_PARA_SAME
public static final int FORMULA_VER_PARA_SAME
public IntelliElements(ElementCasePane reportPane, java.awt.Rectangle oldCellRectangle, java.awt.Rectangle dragCellRectangle)
reportPane
- ElementCasePane objectpublic static void iterating(ElementCasePane reportPane, java.awt.Rectangle oldCellRectangle, java.awt.Rectangle dragCellRectangle)
public void setAction(int action)
action
- either IntelliElements.ACTION_REPLICATION or
IntelliElements.ACTION_SEQUENCING, presentlypublic void setStyleSupported(boolean isStyleSupported)
isStyleSupported
- specify if support content only. Default is true.public void doIntelliAction()