IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface PageStyle

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Style
All Known Subinterfaces:
UMLDiagramStyle

public interface PageStyle
extends Style

A representation of the model object 'Page Style'.

The page style is a style to be installed on multi-page diagrams

The following features are supported:

See Also:
NotationPackage.getPageStyle()

Method Summary
 int getPageHeight()
          Returns the value of the 'Page Height' attribute.
 int getPageWidth()
          Returns the value of the 'Page Width' attribute.
 int getPageX()
          Returns the value of the 'Page X' attribute.
 int getPageY()
          Returns the value of the 'Page Y' attribute.
 void setPageHeight(int value)
          Sets the value of the 'Page Height' attribute
 void setPageWidth(int value)
          Sets the value of the 'Page Width' attribute
 void setPageX(int value)
          Sets the value of the 'Page X' attribute
 void setPageY(int value)
          Sets the value of the 'Page Y' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getPageX

public int getPageX()
Returns the value of the 'Page X' attribute. The default value is "0".

This is the x-origin of the page.

Returns:
the value of the 'Page X' attribute.
See Also:
setPageX(int), NotationPackage.getPageStyle_PageX()

setPageX

public void setPageX(int value)
Sets the value of the 'Page X' attribute.

This is the x-origin of the page.

Parameters:
value - the new value of the 'Page X' attribute.
See Also:
getPageX()

getPageY

public int getPageY()
Returns the value of the 'Page Y' attribute. The default value is "0".

This is the y-origin of the page.

Returns:
the value of the 'Page Y' attribute.
See Also:
setPageY(int), NotationPackage.getPageStyle_PageY()

setPageY

public void setPageY(int value)
Sets the value of the 'Page Y' attribute.

This is the x-origin of the page.

Parameters:
value - the new value of the 'Page Y' attribute.
See Also:
getPageY()

getPageWidth

public int getPageWidth()
Returns the value of the 'Page Width' attribute. The default value is "100".

This is the width of the page.

Returns:
the value of the 'Page Width' attribute.
See Also:
setPageWidth(int), NotationPackage.getPageStyle_PageWidth()

setPageWidth

public void setPageWidth(int value)
Sets the value of the 'Page Width' attribute.

This is the width of the page.

Parameters:
value - the new value of the 'Page Width' attribute.
See Also:
getPageWidth()

getPageHeight

public int getPageHeight()
Returns the value of the 'Page Height' attribute. The default value is "100".

This is the height of the page.

Returns:
the value of the 'Page Height' attribute.
See Also:
setPageHeight(int), NotationPackage.getPageStyle_PageHeight()

setPageHeight

public void setPageHeight(int value)
Sets the value of the 'Page Height' attribute.

This is the height of the page.

Parameters:
value - the new value of the 'Page Height' attribute.
See Also:
getPageHeight()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.