VisualObjectPlacement
Inheritance: java.lang.Object
public final class VisualObjectPlacement
Represents placement and appearance of OleObject in a view.
Constructors
Constructor | Description |
---|---|
VisualObjectPlacement() | Initializes a new instance of the VisualObjectPlacement class. |
Methods
Method | Description |
---|---|
getAttachmentPoint() | Gets alignment of visual object relative to a task when ‘Attach to task’ options is selected. |
getBorderLineColor() | Gets border line color. |
getBorderLineThickness() | Gets border line thickness (allowed values are 0 - 5). |
getFillColor() | Gets fill color. |
getFillPattern() | Gets fill pattern. |
getHeight() | Gets displayed height of visual object. |
getHorizontalOffset() | Gets horizontal offset of visual object. |
getOleObjectId() | Gets Id of OleObject object. |
getTaskId() | Gets Id of task if ‘Attach to task’ options is selected, -1 otherwise. |
getTimescaleDate() | Gets date placement of visual object when ‘Attach to timescale’ options is selected. |
getVerticalOffset() | Gets vertical offset of visual object. |
getWidth() | Gets displayed width of visual object. |
setAttachmentPoint(int value) | Sets alignment of visual object relative to a task when ‘Attach to task’ options is selected. |
setBorderLineColor(Color value) | Sets border line color. |
setBorderLineThickness(byte value) | Sets border line thickness (allowed values are 0 - 5). |
setFillColor(Color value) | Sets fill color. |
setFillPattern(int value) | Sets fill pattern. |
setHeight(double value) | Sets displayed height of visual object. |
setHorizontalOffset(double value) | Sets horizontal offset of visual object. |
setOleObjectId(int value) | Sets Id of OleObject object. |
setTaskId(int value) | Sets Id of task if ‘Attach to task’ options is selected, -1 otherwise. |
setTimescaleDate(Date value) | Sets date placement of visual object when ‘Attach to timescale’ options is selected. |
setVerticalOffset(double value) | Sets vertical offset of visual object. |
setWidth(double value) | Sets displayed width of visual object. |
VisualObjectPlacement()
public VisualObjectPlacement()
Initializes a new instance of the VisualObjectPlacement class.
getAttachmentPoint()
public final int getAttachmentPoint()
Gets alignment of visual object relative to a task when ‘Attach to task’ options is selected.
Returns: int - alignment of visual object relative to a task when ‘Attach to task’ options is selected.
getBorderLineColor()
public final Color getBorderLineColor()
Gets border line color.
Returns: java.awt.Color - border line color.
getBorderLineThickness()
public final byte getBorderLineThickness()
Gets border line thickness (allowed values are 0 - 5).
Returns: byte - border line thickness (allowed values are 0 - 5).
getFillColor()
public final Color getFillColor()
Gets fill color.
Returns: java.awt.Color - fill color.
getFillPattern()
public final int getFillPattern()
Gets fill pattern.
Returns: int - fill pattern.
getHeight()
public final double getHeight()
Gets displayed height of visual object.
Returns: double - displayed height of visual object.
getHorizontalOffset()
public final double getHorizontalOffset()
Gets horizontal offset of visual object.
Returns: double - horizontal offset of visual object.
getOleObjectId()
public final int getOleObjectId()
Gets Id of OleObject object.
Returns: int - Id of OleObject object.
getTaskId()
public final int getTaskId()
Gets Id of task if ‘Attach to task’ options is selected, -1 otherwise.
Returns: int - Id of task if ‘Attach to task’ options is selected, -1 otherwise.
getTimescaleDate()
public final Date getTimescaleDate()
Gets date placement of visual object when ‘Attach to timescale’ options is selected.
Returns: java.util.Date - date placement of visual object when ‘Attach to timescale’ options is selected.
getVerticalOffset()
public final double getVerticalOffset()
Gets vertical offset of visual object.
Returns: double - vertical offset of visual object.
getWidth()
public final double getWidth()
Gets displayed width of visual object.
Returns: double - displayed width of visual object.
setAttachmentPoint(int value)
public final void setAttachmentPoint(int value)
Sets alignment of visual object relative to a task when ‘Attach to task’ options is selected.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | alignment of visual object relative to a task when ‘Attach to task’ options is selected. |
setBorderLineColor(Color value)
public final void setBorderLineColor(Color value)
Sets border line color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color | border line color. |
setBorderLineThickness(byte value)
public final void setBorderLineThickness(byte value)
Sets border line thickness (allowed values are 0 - 5).
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte | border line thickness (allowed values are 0 - 5). |
setFillColor(Color value)
public final void setFillColor(Color value)
Sets fill color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color | fill color. |
setFillPattern(int value)
public final void setFillPattern(int value)
Sets fill pattern.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | fill pattern. |
setHeight(double value)
public final void setHeight(double value)
Sets displayed height of visual object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | displayed height of visual object. |
setHorizontalOffset(double value)
public final void setHorizontalOffset(double value)
Sets horizontal offset of visual object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | horizontal offset of visual object. |
setOleObjectId(int value)
public final void setOleObjectId(int value)
Sets Id of OleObject object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | Id of OleObject object. |
setTaskId(int value)
public final void setTaskId(int value)
Sets Id of task if ‘Attach to task’ options is selected, -1 otherwise.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | Id of task if ‘Attach to task’ options is selected, -1 otherwise. |
setTimescaleDate(Date value)
public final void setTimescaleDate(Date value)
Sets date placement of visual object when ‘Attach to timescale’ options is selected.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.Date | date placement of visual object when ‘Attach to timescale’ options is selected. |
setVerticalOffset(double value)
public final void setVerticalOffset(double value)
Sets vertical offset of visual object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | vertical offset of visual object. |
setWidth(double value)
public final void setWidth(double value)
Sets displayed width of visual object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | displayed width of visual object. |