oracle.jdevimpl.uieditor.assistant
Class VerticalFlowLayoutAssistant
java.lang.Object
oracle.jdevimpl.uieditor.assistant.BasicLayoutAssistant
oracle.jdevimpl.uieditor.assistant.FlowLayoutAssistant
oracle.jdevimpl.uieditor.assistant.VerticalFlowLayoutAssistant
- All Implemented Interfaces:
- java.util.Comparator, LayoutAssistant
- public final class VerticalFlowLayoutAssistant
- extends FlowLayoutAssistant
Fields inherited from class oracle.jdevimpl.uieditor.assistant.BasicLayoutAssistant |
BIG_DECREASE_HEIGHT_ACTION, BIG_DECREASE_HEIGHT_CMD_ID, BIG_DECREASE_WIDTH_ACTION, BIG_DECREASE_WIDTH_CMD_ID, BIG_INCREASE_HEIGHT_ACTION, BIG_INCREASE_HEIGHT_CMD_ID, BIG_INCREASE_WIDTH_ACTION, BIG_INCREASE_WIDTH_CMD_ID, BIG_MOVE_DOWN_ACTION, BIG_MOVE_DOWN_CMD_ID, BIG_MOVE_LEFT_ACTION, BIG_MOVE_LEFT_CMD_ID, BIG_MOVE_RIGHT_ACTION, BIG_MOVE_RIGHT_CMD_ID, BIG_MOVE_UP_ACTION, BIG_MOVE_UP_CMD_ID, DECREASE_HEIGHT_ACTION, DECREASE_HEIGHT_CMD_ID, DECREASE_WIDTH_ACTION, DECREASE_WIDTH_CMD_ID, INCREASE_HEIGHT_ACTION, INCREASE_HEIGHT_CMD_ID, INCREASE_WIDTH_ACTION, INCREASE_WIDTH_CMD_ID, MOVE_DOWN_ACTION, MOVE_DOWN_CMD_ID, MOVE_LEFT_ACTION, MOVE_LEFT_CMD_ID, MOVE_RIGHT_ACTION, MOVE_RIGHT_CMD_ID, MOVE_TO_FIRST_ACTION, MOVE_TO_FIRST_CMD_ID, MOVE_TO_FIRST_ITEM, MOVE_TO_LAST_ACTION, MOVE_TO_LAST_CMD_ID, MOVE_TO_LAST_ITEM, MOVE_UP_ACTION, MOVE_UP_CMD_ID, ZORDER_MENU, ZORDER_SEPARATOR |
Method Summary |
protected int |
calcBestZ(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode,
java.awt.Point location,
java.awt.Dimension size,
java.awt.Rectangle zBounds)
|
java.lang.String |
constrainMove(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode,
java.awt.Point mousePos,
java.awt.Point mouseOffset,
java.awt.Point newPos,
java.awt.Dimension newSize)
Optionally modify size and position of an object being moved to conform to
the constraints imposed by the LayoutManager being represented. |
Methods inherited from class oracle.jdevimpl.uieditor.assistant.BasicLayoutAssistant |
changeSize, changeZ, cleanupRemovedComponent, constrainAdd, getConstraintsEditor, getConstraintsType, getContextMenuItems, getEffects, getKey, getPropertyEditor, getSelectedSiblings, getToolbarPrefix, handleEvent, layoutChanged, lessThan, move, prepareAddComponent, prepareAddStatus, prepareMouseMoveStatus, prepareMoveComponent, prepareResizeComponent, prepareSelectComponent, prepareSelectDescendant, raiseChildToView, removeBoundsSetting, resizeAction, sort, sortedNodes, update, usesReverseZOrder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
VerticalFlowLayoutAssistant
public VerticalFlowLayoutAssistant()
constrainMove
public java.lang.String constrainMove(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode,
java.awt.Point mousePos,
java.awt.Point mouseOffset,
java.awt.Point newPos,
java.awt.Dimension newSize)
- Description copied from interface:
LayoutAssistant
- Optionally modify size and position of an object being moved to conform to
the constraints imposed by the LayoutManager being represented. This
method may be called from the UIEditor during a move operation such that it
may provide dynamic feedback to the user depicting the expected bounds of
the object throughout the operation.
- Specified by:
constrainMove
in interface LayoutAssistant
- Overrides:
constrainMove
in class FlowLayoutAssistant
calcBestZ
protected int calcBestZ(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode,
java.awt.Point location,
java.awt.Dimension size,
java.awt.Rectangle zBounds)
- Overrides:
calcBestZ
in class BasicLayoutAssistant
Copyright ©1997, 2003, Oracle. All rights reserved.