// Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
/**
* The DvtDiagramLayoutContextNode interface defines the node context for a layout call.
* @export
* @interface DvtDiagramLayoutContextNode
* @memberof oj
*/
/**
* Get the id of the node.
* @method getId
* @instance
* @return {string}
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the bounds of the node. Currently the method returns the same value as getContentBounds().
* The bounds are in the coordinate system of the node.
* @method getBounds
* @instance
* @return {Object} An object with the following properties for the bounds of the node
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @property {number} w width
* @property {number} h height
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the bounds of the node content. Currently the method returns the same value as getBounds().
* The bounds are in the coordinate system of the node.
* @method getContentBounds
* @instance
* @return {Object} An object with the following properties for the bounds of the node content
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @property {number} w width
* @property {number} h height
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Set the position of the node. The position is in the coordinate system of
* the node's container.
* @method setPosition
* @instance
* @param {Object} pos An object with the following properties for the position of the node
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the position of the node. The position is in the coordinate system of
* the node's container.
* @method getPosition
* @instance
* @return {Object} An object with the following properties for the position of the node
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Set the position of the node label. The position is in the coordinate system of the node's container.
* The position represents the upper-left corner for locales with left-to-right reading
* direction and the upper-right corner for locales with right-to-left reading
* direction.
* @method setLabelPosition
* @instance
* @param {Object} pos An object with the following properties for position of the node label
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the position of the node label. The position is in the coordinate system of the node's container.
* The position represents the upper-left corner for locales with left-to-right reading
* direction and the upper-right corner for locales with right-to-left reading
* direction.
* @method getLabelPosition
* @instance
* @return {Object} An object with the following properties for the position of the node label
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the label bounds. The bounds are in the coordinate system of the label.
* @method getLabelBounds
* @instance
* @return {Object} An object with the following properties for the label bounds
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @property {number} w width
* @property {number} h height
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the corresponding object from the nodes option array.
* @method getLayoutAttributes
* @instance
* @return {Object}
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Determine whether this node is selected.
* @method getSelected
* @instance
* @return {boolean}
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Set the angle of rotation of the node label, relative to the label
* rotation point, in radians.
* @method setLabelRotationAngle
* @instance
* @param {number} angle angle of rotation
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the angle of rotation of the node label, relative to the label
* rotation point, in radians.
* @method getLabelRotationAngle
* @instance
* @return {number}
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Set the point about which to rotate the node label, in the coordinate
* system of the label.
* @method setLabelRotationPoint
* @instance
* @param {Object} point An object with the following properties for label rotation point
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
/**
* Get the point about which to rotate the node label, in the coordinate
* system of the label.
* @method getLabelRotationPoint
* @instance
* @return {Object} An object with the following properties for the label rotation point
* @property {number} x x-coordinate
* @property {number} y y-coordinate
* @memberof oj.DvtDiagramLayoutContextNode
* @export
*/
Source: 3rdparty/dvt/doc/diagramLayoutAPI/DvtDiagramLayoutContextNode.js
Oracle® JavaScript Extension Toolkit (JET)
1.1.2
E65298-01