pl.mbdev.openstage
Class IppStringItem
java.lang.Object
pl.mbdev.openstage.Xml
pl.mbdev.openstage.XmlFormItem
pl.mbdev.openstage.IppStringItem
public class IppStringItem
- extends XmlFormItem
This simple item can be added to IppForm
, and consists of single line of static
text with two columns. One of them contains a label, another contains content.
Copyright 2011 Mateusz Bysiek,
mb@mbdev.pl, http://mbdev.pl/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Author:
- Mateusz Bysiek
Field Summary |
private java.lang.String |
label
Text that will be visible in the left column. |
private java.lang.String |
text
Text that will be visible in the right column. |
Constructor Summary |
IppStringItem(java.lang.String label,
java.lang.String text)
Constructs new IppStringItem. |
Methods inherited from class pl.mbdev.openstage.Xml |
add, add, addAndReturn, attributesToXmlString, attributeToXml, firstAttributesToXmlString, getContents, getLogicalRoot, getParent, getSubNode, getSubNodeIndex, getSubNodes, getXmlHeader, isEmpty, logicalAdd, sendTo, setContents, setParent, subObjectsCount, subObjectsToXmlString, toXmlString, wrapWithIppItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
private java.lang.String label
- Text that will be visible in the left column.
text
private java.lang.String text
- Text that will be visible in the right column.
IppStringItem
public IppStringItem(java.lang.String label,
java.lang.String text)
- Constructs new IppStringItem.
- Parameters:
label
- text that will be visible in the left columntext
- this will be in the right column, and will scroll if text is too long