Class Cell

java.lang.Object
ca.phon.ui.ipamap.io.Cell

public class Cell extends Object
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 Details

    • text

      protected String text
    • property

      protected List<CellProp> property
    • w

      protected Integer w
    • h

      protected Integer h
    • x

      protected int x
    • y

      protected int y
  • Constructor Details

    • Cell

      public Cell()
  • Method Details

    • getText

      public String getText()
      Gets the value of the text property.
      Returns:
      possible object is String
    • setText

      public void setText(String value)
      Sets the value of the text property.
      Parameters:
      value - allowed object is String
    • getProperty

      public List<CellProp> 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

      public void setW(Integer value)
      Sets the value of the w property.
      Parameters:
      value - allowed object is Integer
    • getH

      public int getH()
      Gets the value of the h property.
      Returns:
      possible object is Integer
    • setH

      public void setH(Integer value)
      Sets the value of the h property.
      Parameters:
      value - allowed object is Integer
    • 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.