|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteConnectorShape
This class is the subclass of Shape class, and it represents a connector shape in a page.
Creation and access
Field Summary | |
---|---|
static java.lang.String |
ARROW_STYLE_ARROW
|
static java.lang.String |
ARROW_STYLE_ARROW_CONCAVE
|
static java.lang.String |
ARROW_STYLE_CIRCLE
|
static java.lang.String |
ARROW_STYLE_DIMENSION_LINES
|
static java.lang.String |
ARROW_STYLE_DOUBLE_ARROW
|
static java.lang.String |
ARROW_STYLE_LINE_ARROW
|
static java.lang.String |
ARROW_STYLE_ROUNDED_LARGE_ARROW
|
static java.lang.String |
ARROW_STYLE_ROUNDED_SHORT_ARROW
|
static java.lang.String |
ARROW_STYLE_SMALL_ARROW
|
static java.lang.String |
ARROW_STYLE_SQUARE
|
static java.lang.String |
ARROW_STYLE_SQUARE_45
|
static java.lang.String |
ARROW_STYLE_SYMMETRIC_ARROW
|
static int |
CONNECTORTYPE_CURVE
specifies that the connector is drawn as a curve. |
static int |
CONNECTORTYPE_LINE
specifies that the connector is drawn with three lines. |
static int |
CONNECTORTYPE_STANDARD
specifies that the connector is drawn with three lines, with the middle line perpendicular to the other two. |
static int |
CONNECTORTYPE_STRAIGHT
specifies that the connector is drawn as a straight line. |
static int |
POSITION_BOTTOM
specifies the middle bottom of the shape. |
static int |
POSITION_DEFAULT
specifies the favorite position. |
static int |
POSITION_LEFT
specifies the middle left of the shape. |
static int |
POSITION_RIGHT
specifies middle right of the shape. |
static int |
POSITION_TOP
specifies middle top of the shape. |
Method Summary | |
---|---|
int |
getBeginPosition()
This property returns or sets the anchor on the source shape of the connector shape. |
IRemoteShape |
getBeginShape()
Gets the source shape of the connector |
int |
getBeginX()
This property returns or sets the X coordinate of the original point of the connector in 1/100th mm. |
int |
getBeginY()
This property returns or sets the Y coordinate of the original point of the connector in 1/100th mm. |
int |
getConnectorType()
This property returns or sets the type of the connector. |
int |
getEndPosition()
This property returns or sets the anchor on the target shape of the connector shape. |
IRemoteShape |
getEndShape()
Gets the target shape of the connector |
int |
getEndX()
This property returns or sets the X coordinate of the end point of the connector in 1/100th mm. |
int |
getEndY()
This property returns or sets the Y coordinate of the end point of the connector in 1/100th mm. |
boolean |
hasBeginShape()
This property returns whether the connector has a source shape. |
boolean |
hasEndShape()
This property returns whether the connector has a target shape. |
void |
setBeginPosition(int position)
This property returns or sets the anchor on the source shape of the connector shape. |
void |
setBeginShape(IRemoteShape shape)
This method sets the source shape of the connector. |
void |
setBeginShape(IRemoteShape shape,
int position)
This method sets the source shape of the connector. |
void |
setBeginStyle(java.lang.String lineStartName)
This method sets the beginning style of the connector. |
void |
setBeginStyle(java.lang.String lineStartName,
int width)
This method sets the beginning style of the connector. |
void |
setBeginX(int beginX)
This property returns or sets the X coordinate of the original point of the connector in 1/100th mm. |
void |
setBeginY(int beginY)
This property returns or sets the Y coordinate of the original point of the connector in 1/100th mm. |
void |
setConnectorType(int type)
This property returns or sets the type of the connector. |
void |
setEndPosition(int position)
This property returns or sets the anchor on the target shape of the connector shape. |
void |
setEndShape(IRemoteShape shape)
This method sets the target shape of the connector. |
void |
setEndShape(IRemoteShape shape,
int position)
This method sets the target shape of the connector. |
void |
setEndStyle(java.lang.String lineEndName)
This method sets the ending style of the connector. |
void |
setEndStyle(java.lang.String lineEndName,
int width)
This method sets the ending style of the connector. |
void |
setEndX(int endX)
This property returns or sets the X coordinate of the end point of the connector in 1/100th mm. |
void |
setEndY(int endY)
This property returns or sets the Y coordinate of the end point of the connector in 1/100th mm. |
Methods inherited from interface com.mindoo.remote.api.symphony.presentation.IRemoteShape |
---|
copy, cut, exportToImage, getApplication, getAttributes, getContent, getFillFormat, getHeight, getLeft, getLineFormat, getMoveProtect, getName, getParagraphs, getRotateAngle, getShadowFormat, getShearAngle, getSizeProtect, getTop, getType, getWidth, getZOrder, isShadowEnable, remove, setHeight, setLeft, setMoveProtect, setName, setRotateAngle, setShadowEnable, setShearAngle, setSizeProtect, setTop, setWidth, setZOrder |
Field Detail |
---|
static final java.lang.String ARROW_STYLE_ARROW
static final java.lang.String ARROW_STYLE_SQUARE
static final java.lang.String ARROW_STYLE_SMALL_ARROW
static final java.lang.String ARROW_STYLE_DIMENSION_LINES
static final java.lang.String ARROW_STYLE_DOUBLE_ARROW
static final java.lang.String ARROW_STYLE_ROUNDED_SHORT_ARROW
static final java.lang.String ARROW_STYLE_SYMMETRIC_ARROW
static final java.lang.String ARROW_STYLE_LINE_ARROW
static final java.lang.String ARROW_STYLE_ROUNDED_LARGE_ARROW
static final java.lang.String ARROW_STYLE_CIRCLE
static final java.lang.String ARROW_STYLE_SQUARE_45
static final java.lang.String ARROW_STYLE_ARROW_CONCAVE
static final int CONNECTORTYPE_STANDARD
static final int CONNECTORTYPE_CURVE
static final int CONNECTORTYPE_STRAIGHT
static final int CONNECTORTYPE_LINE
static final int POSITION_DEFAULT
static final int POSITION_TOP
static final int POSITION_RIGHT
static final int POSITION_BOTTOM
static final int POSITION_LEFT
Method Detail |
---|
void setBeginPosition(int position) throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
ConnectorShape.POSITION_DEFAULT | -1 | specifies the favorite position. |
ConnectorShape.POSITION_TOP | 0 | specifies middle top of the shape. |
ConnectorShape.POSITION_RIGHT | 1 | specifies middle right of the shape. |
ConnectorShape.POSITION_BOTTOM | 2 | specifies the middle bottom of the shape. |
ConnectorShape.POSITION_LEFT | 3 | specifies the middle left of the shape. |
position
-
RemoteEclipseAPIException
void setEndPosition(int position) throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
ConnectorShape.POSITION_DEFAULT | -1 | specifies the favorite position. |
ConnectorShape.POSITION_TOP | 0 | specifies middle top of the shape. |
ConnectorShape.POSITION_RIGHT | 1 | specifies middle right of the shape. |
ConnectorShape.POSITION_BOTTOM | 2 | specifies the middle bottom of the shape. |
ConnectorShape.POSITION_LEFT | 3 | specifies the middle left of the shape. |
position
-
RemoteEclipseAPIException
int getEndPosition() throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
ConnectorShape.POSITION_DEFAULT | -1 | specifies the favorite position. |
ConnectorShape.POSITION_TOP | 0 | specifies middle top of the shape. |
ConnectorShape.POSITION_RIGHT | 1 | specifies middle right of the shape. |
ConnectorShape.POSITION_BOTTOM | 2 | specifies the middle bottom of the shape. |
ConnectorShape.POSITION_LEFT | 3 | specifies the middle left of the shape. |
RemoteEclipseAPIException
int getBeginPosition() throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
ConnectorShape.POSITION_DEFAULT | -1 | specifies the favorite position. |
ConnectorShape.POSITION_TOP | 0 | specifies middle top of the shape. |
ConnectorShape.POSITION_RIGHT | 1 | specifies middle right of the shape. |
ConnectorShape.POSITION_BOTTOM | 2 | specifies the middle bottom of the shape. |
ConnectorShape.POSITION_LEFT | 3 | specifies the middle left of the shape. |
RemoteEclipseAPIException
int getConnectorType() throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
ConnectorShape.CONNECTORTYPE_STANDARD | 0 | specifies that the connector is drawn with three lines, with the middle line perpendicular to the other two. |
ConnectorShape.CONNECTORTYPE_CURVE | 1 | specifies that the connector is drawn as a curve. |
ConnectorShape.CONNECTORTYPE_STRAIGHT | 2 | specifies that the connector is drawn as a straight line. |
ConnectorShape.CONNECTORTYPE_LINE | 3 | specifies that the connector is drawn with three lines. |
RemoteEclipseAPIException
void setConnectorType(int type) throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
ConnectorShape.CONNECTORTYPE_STANDARD | 0 | specifies that the connector is drawn with three lines, with the middle line perpendicular to the other two. |
ConnectorShape.CONNECTORTYPE_CURVE | 1 | specifies that the connector is drawn as a curve. |
ConnectorShape.CONNECTORTYPE_STRAIGHT | 2 | specifies that the connector is drawn as a straight line. |
ConnectorShape.CONNECTORTYPE_LINE | 3 | specifies that the connector is drawn with three lines. |
type
-
RemoteEclipseAPIException
boolean hasBeginShape() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setBeginShape(IRemoteShape shape, int position) throws RemoteEclipseAPIException
shape
- Specifies the source shape.position
- Specifies the anchor on the source shape. The anchor is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
ConnectorShape.POSITION_DEFAULT | -1 | specifies the favorite position. |
ConnectorShape.POSITION_TOP | 0 | specifies middle top of the shape. |
ConnectorShape.POSITION_RIGHT | 1 | specifies middle right of the shape. |
ConnectorShape.POSITION_BOTTOM | 2 | specifies the middle bottom of the shape. |
ConnectorShape.POSITION_LEFT | 3 | specifies the middle left of the shape. |
RemoteEclipseAPIException
void setBeginShape(IRemoteShape shape) throws RemoteEclipseAPIException
shape
- Specifies the source shape.
RemoteEclipseAPIException
boolean hasEndShape() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteShape getBeginShape() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteShape getEndShape() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setEndShape(IRemoteShape shape, int position) throws RemoteEclipseAPIException
shape
- Specifies the source shape.position
- Specifies the anchor on the source shape. The anchor is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
ConnectorShape.POSITION_DEFAULT | -1 | specifies the favorite position. |
ConnectorShape.POSITION_TOP | 0 | specifies middle top of the shape. |
ConnectorShape.POSITION_RIGHT | 1 | specifies middle right of the shape. |
ConnectorShape.POSITION_BOTTOM | 2 | specifies the middle bottom of the shape. |
ConnectorShape.POSITION_LEFT | 3 | specifies the middle left of the shape. |
RemoteEclipseAPIException
void setEndShape(IRemoteShape shape) throws RemoteEclipseAPIException
shape
- Specifies the source shape.
RemoteEclipseAPIException
void setBeginStyle(java.lang.String lineStartName, int width) throws RemoteEclipseAPIException
lineStartName
- Specifies the style name. The style is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
ConnectorShape.ARROW_STYLE_ARROW | "Arrow" | |
ConnectorShape.ARROW_STYLE_SQUARE | "Square" | |
ConnectorShape.ARROW_STYLE_SMALL_ARROW | "Small Arrow" | |
ConnectorShape.ARROW_STYLE_DIMENSION_LINES | "Dimension Lines" | |
ConnectorShape.ARROW_STYLE_DOUBLE_ARROW | "Double Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_SHORT_ARROW | "Round Short Arrow" | |
ConnectorShape.ARROW_STYLE_SYMMETRIC_ARROW | "Symmetric Arrow" | |
ConnectorShape.ARROW_STYLE_LINE_ARROW | "Line Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_LARGE_ARROW | "Round Large Arrow" | |
ConnectorShape.ARROW_STYLE_CIRCLE | "Circle" | |
ConnectorShape.ARROW_STYLE_SQUARE_45 | "Square 45" | |
ConnectorShape.ARROW_STYLE_ARROW_CONCAVE | "Arrow Concave" |
width
- Specifies the width of the end style in 1/100 mm. *
RemoteEclipseAPIException
void setEndStyle(java.lang.String lineEndName, int width) throws RemoteEclipseAPIException
lineEndName
- Specifies the style name. The style is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
ConnectorShape.ARROW_STYLE_ARROW | "Arrow" | |
ConnectorShape.ARROW_STYLE_SQUARE | "Square" | |
ConnectorShape.ARROW_STYLE_SMALL_ARROW | "Small Arrow" | |
ConnectorShape.ARROW_STYLE_DIMENSION_LINES | "Dimension Lines" | |
ConnectorShape.ARROW_STYLE_DOUBLE_ARROW | "Double Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_SHORT_ARROW | "Round Short Arrow" | |
ConnectorShape.ARROW_STYLE_SYMMETRIC_ARROW | "Symmetric Arrow" | |
ConnectorShape.ARROW_STYLE_LINE_ARROW | "Line Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_LARGE_ARROW | "Round Large Arrow" | |
ConnectorShape.ARROW_STYLE_CIRCLE | "Circle" | |
ConnectorShape.ARROW_STYLE_SQUARE_45 | "Square 45" | |
ConnectorShape.ARROW_STYLE_ARROW_CONCAVE | "Arrow Concave" |
width
- Specifies the width of the end style in 1/100 mm.
RemoteEclipseAPIException
void setBeginStyle(java.lang.String lineStartName) throws RemoteEclipseAPIException
lineStartName
- Specifies the style name. The style is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
ConnectorShape.ARROW_STYLE_ARROW | "Arrow" | |
ConnectorShape.ARROW_STYLE_SQUARE | "Square" | |
ConnectorShape.ARROW_STYLE_SMALL_ARROW | "Small Arrow" | |
ConnectorShape.ARROW_STYLE_DIMENSION_LINES | "Dimension Lines" | |
ConnectorShape.ARROW_STYLE_DOUBLE_ARROW | "Double Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_SHORT_ARROW | "Round Short Arrow" | |
ConnectorShape.ARROW_STYLE_SYMMETRIC_ARROW | "Symmetric Arrow" | |
ConnectorShape.ARROW_STYLE_LINE_ARROW | "Line Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_LARGE_ARROW | "Round Large Arrow" | |
ConnectorShape.ARROW_STYLE_CIRCLE | "Circle" | |
ConnectorShape.ARROW_STYLE_SQUARE_45 | "Square 45" | |
ConnectorShape.ARROW_STYLE_ARROW_CONCAVE | "Arrow Concave" |
RemoteEclipseAPIException
void setEndStyle(java.lang.String lineEndName) throws RemoteEclipseAPIException
lineEndName
- Specifies the style name. The style is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
ConnectorShape.ARROW_STYLE_ARROW | "Arrow" | |
ConnectorShape.ARROW_STYLE_SQUARE | "Square" | |
ConnectorShape.ARROW_STYLE_SMALL_ARROW | "Small Arrow" | |
ConnectorShape.ARROW_STYLE_DIMENSION_LINES | "Dimension Lines" | |
ConnectorShape.ARROW_STYLE_DOUBLE_ARROW | "Double Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_SHORT_ARROW | "Round Short Arrow" | |
ConnectorShape.ARROW_STYLE_SYMMETRIC_ARROW | "Symmetric Arrow" | |
ConnectorShape.ARROW_STYLE_LINE_ARROW | "Line Arrow" | |
ConnectorShape.ARROW_STYLE_ROUNDED_LARGE_ARROW | "Round Large Arrow" | |
ConnectorShape.ARROW_STYLE_CIRCLE | "Circle" | |
ConnectorShape.ARROW_STYLE_SQUARE_45 | "Square 45" | |
ConnectorShape.ARROW_STYLE_ARROW_CONCAVE | "Arrow Concave" |
RemoteEclipseAPIException
int getBeginX() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setBeginX(int beginX) throws RemoteEclipseAPIException
beginX
- x
RemoteEclipseAPIException
int getBeginY() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setBeginY(int beginY) throws RemoteEclipseAPIException
beginY
- y
RemoteEclipseAPIException
int getEndX() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setEndX(int endX) throws RemoteEclipseAPIException
endX
- x
RemoteEclipseAPIException
int getEndY() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setEndY(int endY) throws RemoteEclipseAPIException
endY
- y
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |