Package ca.phon.ui.ipamap.io
Class Cell
java.lang.Object
ca.phon.ui.ipamap.io.Cell
An ipa button
Java class for cell complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cell"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="text" type="{http://phon.ling.mun.ca/ns/ipamap}nonEmptyString"/> <element name="property" type="{http://phon.ling.mun.ca/ns/ipamap}cellProp" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="w" type="{http://phon.ling.mun.ca/ns/ipamap}posInt" default="1" /> <attribute name="h" type="{http://phon.ling.mun.ca/ns/ipamap}posInt" default="1" /> <attribute name="x" use="required" type="{http://phon.ling.mun.ca/ns/ipamap}posInt" /> <attribute name="y" use="required" type="{http://phon.ling.mun.ca/ns/ipamap}posInt" /> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getH()
Gets the value of the h property.Gets the value of the property property.getText()
Gets the value of the text property.int
getW()
Gets the value of the w property.int
getX()
Gets the value of the x property.int
getY()
Gets the value of the y property.void
Sets the value of the h property.void
Sets the value of the text property.void
Sets the value of the w property.void
setX
(int value) Sets the value of the x property.void
setY
(int value) Sets the value of the y property.
-
Field Details
-
text
-
property
-
w
-
h
-
x
protected int x -
y
protected int y
-
-
Constructor Details
-
Cell
public Cell()
-
-
Method Details
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value
- allowed object isString
-
getProperty
Gets the value of the property property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the property property.For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
CellProp
-
getW
public int getW()Gets the value of the w property.- Returns:
- possible object is
Integer
-
setW
Sets the value of the w property.- Parameters:
value
- allowed object isInteger
-
getH
public int getH()Gets the value of the h property.- Returns:
- possible object is
Integer
-
setH
Sets the value of the h property.- Parameters:
value
- allowed object isInteger
-
getX
public int getX()Gets the value of the x property. -
setX
public void setX(int value) Sets the value of the x property. -
getY
public int getY()Gets the value of the y property. -
setY
public void setY(int value) Sets the value of the y property.
-