public class Block extends Object
Java class for block complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="block"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="width" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}short"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="height" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}short"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="x" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}short"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="y" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}short"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="nameOffsetX" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> </restriction> </simpleType> </attribute> <attribute name="nameOffsetY" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected short |
height |
protected BigDecimal |
nameOffsetX |
protected BigDecimal |
nameOffsetY |
protected short |
width |
protected short |
x |
protected short |
y |
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
short |
getHeight()
Gets the value of the height property.
|
BigDecimal |
getNameOffsetX()
Gets the value of the nameOffsetX property.
|
BigDecimal |
getNameOffsetY()
Gets the value of the nameOffsetY property.
|
short |
getWidth()
Gets the value of the width property.
|
short |
getX()
Gets the value of the x property.
|
short |
getY()
Gets the value of the y property.
|
void |
setHeight(short value)
Sets the value of the height property.
|
void |
setNameOffsetX(BigDecimal value)
Sets the value of the nameOffsetX property.
|
void |
setNameOffsetY(BigDecimal value)
Sets the value of the nameOffsetY property.
|
void |
setWidth(short value)
Sets the value of the width property.
|
void |
setX(short value)
Sets the value of the x property.
|
void |
setY(short value)
Sets the value of the y property.
|
protected short width
protected short height
protected short x
protected short y
protected BigDecimal nameOffsetX
protected BigDecimal nameOffsetY
public short getWidth()
public void setWidth(short value)
public short getHeight()
public void setHeight(short value)
public short getX()
public void setX(short value)
public short getY()
public void setY(short value)
public BigDecimal getNameOffsetX()
BigDecimal
public void setNameOffsetX(BigDecimal value)
value
- allowed object is
BigDecimal
public BigDecimal getNameOffsetY()
BigDecimal
public void setNameOffsetY(BigDecimal value)
value
- allowed object is
BigDecimal
Copyright © 2018. All rights reserved.