blob: 05d4165314b2b891a578856dc313fd028b4e65d2 [file] [log] [blame]
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.02.15 at 04:31:32 PM CET
//
package org.eclipse.ptp.rm.lml.internal.core.elements;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
*
* Describes one side of a splitpane. This tag is later
* transformed into a panel. You can split one panel with
* left and right-components or top and bottom-components.
* First split will cause a horizontal split, second will
* cause a vertical split. The gid-attribute is for
* referencing graphical object-id-attributes. If there are
* child-elements for a pane, gid must not be specified.
* Through the divpos-element you are able to set the
* percentage of where to put the divider.
*
*
* <p>Java class for pane_type complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="pane_type">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;sequence minOccurs="0">
* &lt;element name="left" type="{http://www.llview.de}pane_type"/>
* &lt;element name="right" type="{http://www.llview.de}pane_type"/>
* &lt;/sequence>
* &lt;sequence minOccurs="0">
* &lt;element name="top" type="{http://www.llview.de}pane_type"/>
* &lt;element name="bottom" type="{http://www.llview.de}pane_type"/>
* &lt;/sequence>
* &lt;/sequence>
* &lt;attribute name="gid" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="divpos" type="{http://www.llview.de}divpos_type" default="0.5" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "pane_type", propOrder = {
"left",
"right",
"top",
"bottom"
})
public class PaneType implements Serializable {
protected PaneType left;
protected PaneType right;
protected PaneType top;
protected PaneType bottom;
@XmlAttribute
protected String gid;
@XmlAttribute
protected Double divpos;
/**
* Gets the value of the left property.
*
* @return
* possible object is
* {@link PaneType }
*
*/
public PaneType getLeft() {
return left;
}
/**
* Sets the value of the left property.
*
* @param value
* allowed object is
* {@link PaneType }
*
*/
public void setLeft(PaneType value) {
this.left = value;
}
/**
* Gets the value of the right property.
*
* @return
* possible object is
* {@link PaneType }
*
*/
public PaneType getRight() {
return right;
}
/**
* Sets the value of the right property.
*
* @param value
* allowed object is
* {@link PaneType }
*
*/
public void setRight(PaneType value) {
this.right = value;
}
/**
* Gets the value of the top property.
*
* @return
* possible object is
* {@link PaneType }
*
*/
public PaneType getTop() {
return top;
}
/**
* Sets the value of the top property.
*
* @param value
* allowed object is
* {@link PaneType }
*
*/
public void setTop(PaneType value) {
this.top = value;
}
/**
* Gets the value of the bottom property.
*
* @return
* possible object is
* {@link PaneType }
*
*/
public PaneType getBottom() {
return bottom;
}
/**
* Sets the value of the bottom property.
*
* @param value
* allowed object is
* {@link PaneType }
*
*/
public void setBottom(PaneType value) {
this.bottom = value;
}
/**
* Gets the value of the gid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGid() {
return gid;
}
/**
* Sets the value of the gid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGid(String value) {
this.gid = value;
}
/**
* Gets the value of the divpos property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getDivpos() {
if (divpos == null) {
return 0.5D;
} else {
return divpos;
}
}
/**
* Sets the value of the divpos property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setDivpos(Double value) {
this.divpos = value;
}
}