|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.mbdev.openstage.Xml
pl.mbdev.openstage.XmlFormItem
pl.mbdev.openstage.IppGauge
public class IppGauge
Automated or user editable gauge, which can be added to IppForm
.
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.
Nested Class Summary | |
---|---|
static class |
IppGauge.Interactive
Defines types of IppGauge in the context of it being interactive. |
Field Summary | |
---|---|
private IppGauge.Interactive |
interactive
Value from IppGauge.Interactive , sets the gauge's interactivity. |
private java.lang.String |
key
Key from the key-value pair, where the value is the progress of the scroll bar. |
Constructor Summary | |
---|---|
IppGauge(java.lang.String label,
int maximumMinutes,
int maximumSeconds,
int initialMinutes,
int initialSeconds)
Creates an automated gauge, with start and end time. |
|
IppGauge(java.lang.String label,
int maximum,
int initial,
java.lang.String key)
Creates an interactive gauge, with initial and maximum values. |
|
IppGauge(java.lang.String label,
java.lang.String maximum,
java.lang.String initial,
IppGauge.Interactive interactive,
java.lang.String key)
Creates |
Method Summary | |
---|---|
protected java.lang.StringBuffer |
attributesToXmlString()
Should be overridden by classes that have some attributes. |
IppGauge.Interactive |
getInteractive()
Returns the value from IppGauge.Interactive , the gauge's interactivity. |
Methods inherited from class pl.mbdev.openstage.XmlFormItem |
---|
add |
Methods inherited from class pl.mbdev.openstage.Xml |
---|
add, add, addAndReturn, 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 |
Field Detail |
---|
private final IppGauge.Interactive interactive
IppGauge.Interactive
, sets the gauge's interactivity.
private final java.lang.String key
Constructor Detail |
---|
public IppGauge(java.lang.String label, int maximumMinutes, int maximumSeconds, int initialMinutes, int initialSeconds)
label
- label of the gaugemaximumMinutes
- minutes part of the maximum valuemaximumSeconds
- seconds part of the maximum valueinitialMinutes
- minutes part of the minimum valueinitialSeconds
- seconds part of the minimum valuepublic IppGauge(java.lang.String label, int maximum, int initial, java.lang.String key)
label
- label of the gaugemaximum
- maximum value of the gaugeinitial
- initial valuekey
- key from the key-value pair, where the value is the progress of the scroll
barpublic IppGauge(java.lang.String label, java.lang.String maximum, java.lang.String initial, IppGauge.Interactive interactive, java.lang.String key)
label
- label of the gaugemaximum
- maximum valueinitial
- initial valueinteractive
- value from IppGauge.Interactive
, sets the gauge's interactivitykey
- key from the key-value pair, where the value is the progress of the scroll
bar, ignored when the gauge is not interactiveMethod Detail |
---|
public IppGauge.Interactive getInteractive()
IppGauge.Interactive
, the gauge's interactivity.
IppGauge.Interactive
protected java.lang.StringBuffer attributesToXmlString()
Xml
attributesToXmlString
in class Xml
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |