public class OCVPanel extends Object implements Iterable<OCVPanel.CITValue>
Modifier and Type | Class and Description |
---|---|
static class |
OCVPanel.CITValue
This class represents a single row in this panel.
|
Constructor and Description |
---|
OCVPanel(com.uc4.util.XMLDocument doc,
Element citPanel,
ConnectionAttributes session)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
add(OCVPanel.CITValue value)
Adds a new value to this panel.
|
boolean |
changeValue(String xmlName,
String value)
Modifies the value of an xmlName.
|
void |
clear()
Removes all values from this connection object.
|
OCVPanel |
copy()
Creates a deep copy of this object
|
String |
get(String name)
Gets a value from by its unique name.
|
int |
getInt(String name)
Gets a value by its name and converts the result to an integer.
|
Iterator<OCVPanel.CITValue> |
iterator()
Returns an iterator which can be used ot read all values.
|
boolean |
remove(String name)
Removes a value from this OCV Panel instance.
|
void |
setValue(String xmlName,
String value,
boolean enc,
boolean con)
Modifies or adds a new value to this OCV panel.
|
int |
size() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public OCVPanel(com.uc4.util.XMLDocument doc, Element citPanel, ConnectionAttributes session)
doc
- XML documentcitPanel
- Element of RA valuessession
- Session infopublic String get(String name)
name
- xmlNamepublic int getInt(String name)
name
- xmlName of the parameterpublic boolean remove(String name)
name
- XML namepublic Iterator<OCVPanel.CITValue> iterator()
iterator
in interface Iterable<OCVPanel.CITValue>
public void clear()
public void add(OCVPanel.CITValue value)
value
- CITValuepublic boolean changeValue(String xmlName, String value)
xmlName
- Namevalue
- New valuepublic void setValue(String xmlName, String value, boolean enc, boolean con)
xmlName
- Namevalue
- Valueenc
- Encryption?con
- Connection Objectpublic int size()
public OCVPanel copy()
Copyright © 2021. All rights reserved.