blob: 556b028a621ce186b1ba2f6b013a130f316a653d [file] [log] [blame]
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs
// 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.04.21 at 02:35:28 PM CDT
//
package org.eclipse.ptp.rm.jaxb.core.data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for tab-item-type complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="tab-item-type">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="tooltip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="font" type="{http://org.eclipse.ptp/rm}font-type" minOccurs="0"/>
* &lt;choice maxOccurs="unbounded">
* &lt;element name="composite" type="{http://org.eclipse.ptp/rm}composite-type"/>
* &lt;element name="tab-folder" type="{http://org.eclipse.ptp/rm}tab-folder-type"/>
* &lt;element name="widget" type="{http://org.eclipse.ptp/rm}widget-type"/>
* &lt;/choice>
* &lt;/sequence>
* &lt;attribute name="background" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="style" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tab-item-type", propOrder = { "title", "tooltip", "font", "compositeOrTabFolderOrWidget" })
public class TabItemType {
@XmlElement(required = true)
protected String title;
protected String tooltip;
protected FontType font;
@XmlElements({ @XmlElement(name = "tab-folder", type = TabFolderType.class),
@XmlElement(name = "composite", type = CompositeType.class), @XmlElement(name = "widget", type = WidgetType.class) })
protected List<Object> compositeOrTabFolderOrWidget;
@XmlAttribute
protected String background;
@XmlAttribute
protected String style;
/**
* Gets the value of the background property.
*
* @return possible object is {@link String }
*
*/
public String getBackground() {
return background;
}
/**
* Gets the value of the compositeOrTabFolderOrWidget property.
*
* <p>
* 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 JAXB object. This is why there is not a
* <CODE>set</CODE> method for the compositeOrTabFolderOrWidget property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCompositeOrTabFolderOrWidget().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TabFolderType } {@link CompositeType } {@link WidgetType }
*
*
*/
public List<Object> getCompositeOrTabFolderOrWidget() {
if (compositeOrTabFolderOrWidget == null) {
compositeOrTabFolderOrWidget = new ArrayList<Object>();
}
return this.compositeOrTabFolderOrWidget;
}
/**
* Gets the value of the font property.
*
* @return possible object is {@link FontType }
*
*/
public FontType getFont() {
return font;
}
/**
* Gets the value of the style property.
*
* @return possible object is {@link String }
*
*/
public String getStyle() {
return style;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Gets the value of the tooltip property.
*
* @return possible object is {@link String }
*
*/
public String getTooltip() {
return tooltip;
}
/**
* Sets the value of the background property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBackground(String value) {
this.background = value;
}
/**
* Sets the value of the font property.
*
* @param value
* allowed object is {@link FontType }
*
*/
public void setFont(FontType value) {
this.font = value;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Sets the value of the tooltip property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTooltip(String value) {
this.tooltip = value;
}
}