edu.stanford.hci.r3.paper.regions
Class XMLRegion

java.lang.Object
  extended by edu.stanford.hci.r3.paper.Region
      extended by edu.stanford.hci.r3.paper.regions.XMLRegion

public class XMLRegion
extends Region

XML regions are Region objects augmented with extra meta data from an XMLSheet.

This software is distributed under the BSD License.


Field Summary
 
Fields inherited from class edu.stanford.hci.r3.paper.Region
referenceUnits, scaleX, scaleY
 
Constructor Summary
XMLRegion(java.lang.String name, double xInches, double yInches, double wInches, double hInches, java.lang.String type)
          Constructs a new XMLRegion
 
Method Summary
 java.lang.String getType()
          Returns the type associated with this XMLRegion
 
Methods inherited from class edu.stanford.hci.r3.paper.Region
addEventHandler, getEventHandlers, getFillColor, getHeight, getIsActiveString, getName, getOpacity, getOriginX, getOriginY, getParentSheet, getRenderer, getScaleX, getScaleY, getShape, getStrokeColor, getUnits, getUnscaledBounds2D, getUnscaledBoundsHeight, getUnscaledBoundsWidth, getUnscaledShapeCopy, getWidth, isActive, isVisible, resetScale, scaleRegion, scaleRegionUniformly, setActive, setFillColor, setName, setOpacity, setParentSheet, setScale, setShape, setStrokeColor, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLRegion

public XMLRegion(java.lang.String name,
                 double xInches,
                 double yInches,
                 double wInches,
                 double hInches,
                 java.lang.String type)
Constructs a new XMLRegion

Parameters:
name -
xInches -
yInches -
wInches -
hInches -
type -
Method Detail

getType

public java.lang.String getType()
Returns the type associated with this XMLRegion

Returns:

Copyright 2006 Stanford University