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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetH()Gets the value of the h property.Gets the value of the property property.getText()Gets the value of the text property.intgetW()Gets the value of the w property.intgetX()Gets the value of the x property.intgetY()Gets the value of the y property.voidSets the value of the h property.voidSets the value of the text property.voidSets the value of the w property.voidsetX(int value) Sets the value of the x property.voidsetY(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
-
setText
-
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
setmethod 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
-
setW
-
getH
-
setH
-
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.
-