public class Window
Constructor Summary |
---|
Window()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
int | getContainer() | |
void | setContainer(intvalue) | |
ID of container: Page, Sheet, or Master. Only relevant and necessary if ContainerType is specified. | ||
int | getContainerType() | |
void | setContainerType(intvalue) | |
May be one of the following values: Document, Page, or Master. Only relevant when WindowType is specified as Drawing or Sheet. The value of the property is ContainerTypeValue integer constant. | ||
java.lang.String | getDocument() | |
void | setDocument(java.lang.Stringvalue) | |
File path of the document displayed in this window. This attribute is relevant for windows whose WindowType is specified as Stencil. | ||
int | getDynamicGridEnabled() | |
void | setDynamicGridEnabled(intvalue) | |
Specifies whether the dynamic grid feature is enabled for a document or window. The value of the property is BOOL integer constant. | ||
int | getGlueSettings() | |
void | setGlueSettings(intvalue) | |
Specifies the objects that shapes glue to when glue is enabled in the document. The value of the property is GlueSettingsValue integer constant. | ||
int | getID() | |
void | setID(intvalue) | |
The unique ID of the element within its parent element. | ||
Master | getMaster() | |
void | ||
Master ID if this window is displaying a master. | ||
Page | getPage() | |
void | ||
Page ID if this window is displaying a page. Relevant only when WindowType is specified as Drawing and ContainerType is specified as Page. | ||
int | getParentWindow() | |
void | setParentWindow(intvalue) | |
ID of window in which this stencil window is contained. Relevant only when WindowType is specified as Stencil. | ||
int | getReadOnly() | |
void | setReadOnly(intvalue) | |
Read-only flag if this stencil is not a document stencil. The value of the property is BOOL integer constant. | ||
int | getSheet() | |
void | setSheet(intvalue) | |
ID of sheet in container. Relevant only when Container is specified as Sheet. | ||
int | getShowConnectionPoints() | |
void | setShowConnectionPoints(intvalue) | |
Specifies whether connection points are shown in a window. The value of the property is BOOL integer constant. | ||
int | getShowGrid() | |
void | setShowGrid(intvalue) | |
Specifies whether a grid is shown in the drawing window. The value of the property is BOOL integer constant. | ||
int | getShowGuides() | |
void | setShowGuides(intvalue) | |
Specifies whether guides are shown in the drawing window. The value of the property is BOOL integer constant. | ||
int | getShowPageBreaks() | |
void | setShowPageBreaks(intvalue) | |
Specifies whether page breaks are shown in a window. The value of the property is BOOL integer constant. | ||
int | getShowRulers() | |
void | setShowRulers(intvalue) | |
Specifies whether rulers are shown in the drawing window. The value of the property is BOOL integer constant. | ||
FloatPointNumCollection | getSnapAngles() | |
Contains a collection of SnapAngle elements.
|
||
int | getSnapExtensions() | |
void | setSnapExtensions(intvalue) | |
Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value can be a sum of the values in the following table. The value of the property is SnapExtensionsValue integer constant. | ||
int | getSnapSettings() | |
void | setSnapSettings(intvalue) | |
Specifies the objects that shapes snap to when snap is active in the window. The value may be a sum of the values in the following table. The value of the property is SnapSettingsValue integer constant. | ||
java.lang.String | getStencilGroup() | |
void | setStencilGroup(java.lang.Stringvalue) | |
Specifies the group of merged stencil windows of which the window is a member. This attribute is relevant only for Window elements whose WindowType attribute is Stencil, and only if the stencil window is part of a merged group of stencil windows. All stencil windows that are part of the same merged group have the same StencilGroup element value. | ||
int | getStencilGroupPos() | |
void | setStencilGroupPos(intvalue) | |
Contains an integer that specifies the relative position of a stencil within a group in a window. | ||
double | getTabSplitterPos() | |
void | setTabSplitterPos(doublevalue) | |
Specifies the width of the page tab control of a drawing window (as a fraction of the total width of the drawing window). | ||
double | getViewCenterX() | |
void | setViewCenterX(doublevalue) | |
Optional double. | ||
double | getViewCenterY() | |
void | setViewCenterY(doublevalue) | |
Optional double. | ||
double | getViewScale() | |
void | setViewScale(doublevalue) | |
Optional double. | ||
long | getWindowHeight() | |
void | setWindowHeight(longvalue) | |
Height of the window rectangle. | ||
int | getWindowLeft() | |
void | setWindowLeft(intvalue) | |
Left coordinate of the window rectangle. | ||
int | getWindowState() | |
void | setWindowState(intvalue) | |
This attribute can be a sum of the following values. The value of the property is WindowStateValue integer constant. | ||
int | getWindowTop() | |
void | setWindowTop(intvalue) | |
Top coordinate of the window rectangle. | ||
int | getWindowType() | |
void | setWindowType(intvalue) | |
An enumerated value that may be one of the following: Drawing, Sheet, Stencil, or Icon.A Window element of WindowType='Stencil' must appear after its parent drawing window (WindowType='Drawing') and before any other drawing window elements. The value of the property is WindowTypeValue integer constant. | ||
long | getWindowWidth() | |
void | setWindowWidth(longvalue) | |
Width of the window rectangle. |
public java.lang.String getStencilGroup() / public void setStencilGroup(java.lang.String value)
public int getStencilGroupPos() / public void setStencilGroupPos(int value)
public int getShowRulers() / public void setShowRulers(int value)
public int getShowGrid() / public void setShowGrid(int value)
public int getShowPageBreaks() / public void setShowPageBreaks(int value)
public int getShowGuides() / public void setShowGuides(int value)
public int getShowConnectionPoints() / public void setShowConnectionPoints(int value)
public int getGlueSettings() / public void setGlueSettings(int value)
public int getSnapSettings() / public void setSnapSettings(int value)
public int getSnapExtensions() / public void setSnapExtensions(int value)
public FloatPointNumCollection getSnapAngles()
public int getDynamicGridEnabled() / public void setDynamicGridEnabled(int value)
public double getTabSplitterPos() / public void setTabSplitterPos(double value)
public int getID() / public void setID(int value)
public int getWindowType() / public void setWindowType(int value)
public int getWindowState() / public void setWindowState(int value)
public java.lang.String getDocument() / public void setDocument(java.lang.String value)
public int getWindowLeft() / public void setWindowLeft(int value)
public int getWindowTop() / public void setWindowTop(int value)
public long getWindowWidth() / public void setWindowWidth(long value)
public long getWindowHeight() / public void setWindowHeight(long value)
public Master getMaster() / public void setMaster(Master value)
public int getContainerType() / public void setContainerType(int value)
public int getContainer() / public void setContainer(int value)
public int getSheet() / public void setSheet(int value)
public int getReadOnly() / public void setReadOnly(int value)
public int getParentWindow() / public void setParentWindow(int value)
public Page getPage() / public void setPage(Page value)
public double getViewScale() / public void setViewScale(double value)
public double getViewCenterX() / public void setViewCenterX(double value)
public double getViewCenterY() / public void setViewCenterY(double value)