|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jdevimpl.uieditor.assistant.BasicLayoutAssistant | +--oracle.jdevimpl.uieditor.assistant.TabbedPaneLayoutAssistant
Field Summary |
Fields inherited from interface oracle.jdevimpl.uieditor.LayoutAssistant |
TOOLBAR_ITEM, TOOLBAR_ITEM_COUNT |
Constructor Summary | |
TabbedPaneLayoutAssistant()
|
Method Summary | |
void |
cleanupRemovedComponent(oracle.jdevimpl.uieditor.uicanvas.ModelNode parent)
A child of this node's container has been removed. |
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. |
Explorer |
getConstraintsEditor(Context context)
Get an Explorer implementation with which to modify the constraints settings, else null. |
java.lang.String |
getConstraintsType()
|
java.beans.PropertyEditor |
getPropertyEditor()
|
void |
prepareAddComponent(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode,
java.awt.Point location,
java.awt.Point offset,
java.awt.Dimension size)
Perform any preparation on a child component that will be added into to a container. |
java.lang.String |
prepareMouseMoveStatus(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode,
java.awt.Point location)
Return a string for display while the user is moving the mouse over a component. |
void |
prepareResizeComponent(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
oracle.jdevimpl.uieditor.uicanvas.SelectNib nib)
Perform a requested resize on a child. |
java.lang.String |
prepareResizeStatus(oracle.jdevimpl.uieditor.uicanvas.ModelNode node,
java.awt.Point location,
java.awt.Dimension size)
Return a string for display during the resize process. |
protected void |
raiseChildToView(oracle.jdevimpl.uieditor.uicanvas.ModelNode parent,
oracle.jdevimpl.uieditor.uicanvas.ModelNode node)
|
Methods inherited from class oracle.jdevimpl.uieditor.assistant.BasicLayoutAssistant |
calcBestZ, changeSize, changeZ, constrainAdd, getContextMenuItems, getEffects, getKey, getSelectedSiblings, getToolbarPrefix, handleEvent, layoutChanged, lessThan, move, prepareAddStatus, prepareChangeLayout, prepareMoveComponent, prepareSelectComponent, prepareSelectDescendant, removeBoundsSetting, resizeAction, sort, sortedNodes, update, usesReverseZOrder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TabbedPaneLayoutAssistant()
Method Detail |
public java.lang.String getConstraintsType()
getConstraintsType
in interface LayoutAssistant
getConstraintsType
in class BasicLayoutAssistant
public java.beans.PropertyEditor getPropertyEditor()
getPropertyEditor
in interface LayoutAssistant
getPropertyEditor
in class BasicLayoutAssistant
public Explorer getConstraintsEditor(Context context)
LayoutAssistant
getConstraintsEditor
in interface LayoutAssistant
getConstraintsEditor
in class BasicLayoutAssistant
context
- the Context describing the selection to be edited.
public void prepareAddComponent(oracle.jdevimpl.uieditor.uicanvas.ModelNode node, oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode, java.awt.Point location, java.awt.Point offset, java.awt.Dimension size)
LayoutAssistant
prepareAddComponent
in interface LayoutAssistant
prepareAddComponent
in class BasicLayoutAssistant
node
- the node being added.toNode
- ModelNode receiving the node.location
- the location in the parent.offset
- the mouse down position relative to the node.size
- the size of the component.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)
LayoutAssistant
constrainMove
in interface LayoutAssistant
constrainMove
in class BasicLayoutAssistant
node
- node being manipulated.toNode
- parent of node being manipulated.mousePos
- current mouse position relative to toNode.mouseOffset
- mouse position relative to node at beginning of move.newPos
- output parameter for receiving constrained drop location.newSize
- output parameter for receiving constrained drop size.public java.lang.String prepareMouseMoveStatus(oracle.jdevimpl.uieditor.uicanvas.ModelNode node, oracle.jdevimpl.uieditor.uicanvas.ModelNode toNode, java.awt.Point location)
LayoutAssistant
prepareMouseMoveStatus
in interface LayoutAssistant
prepareMouseMoveStatus
in class BasicLayoutAssistant
node
- the node that the mouse is over.toNode
- the parent of the node that the mouse is over.location
- Point relative to parent's upper left corner.
public void prepareResizeComponent(oracle.jdevimpl.uieditor.uicanvas.ModelNode node, oracle.jdevimpl.uieditor.uicanvas.SelectNib nib)
LayoutAssistant
prepareResizeComponent
in interface LayoutAssistant
prepareResizeComponent
in class BasicLayoutAssistant
node
- the ModelNode that is being re-sized.nib
- the SelectNib that is being manipulated.public java.lang.String prepareResizeStatus(oracle.jdevimpl.uieditor.uicanvas.ModelNode node, java.awt.Point location, java.awt.Dimension size)
LayoutAssistant
prepareResizeStatus
in interface LayoutAssistant
prepareResizeStatus
in class BasicLayoutAssistant
node
- the node being resized.location
- new Point relative to parent's upper left corner.size
- the size of the new node.
public void cleanupRemovedComponent(oracle.jdevimpl.uieditor.uicanvas.ModelNode parent)
LayoutAssistant
cleanupRemovedComponent
in interface LayoutAssistant
cleanupRemovedComponent
in class BasicLayoutAssistant
parent
- The node that had a child removed.protected void raiseChildToView(oracle.jdevimpl.uieditor.uicanvas.ModelNode parent, oracle.jdevimpl.uieditor.uicanvas.ModelNode node)
raiseChildToView
in class BasicLayoutAssistant
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.