public class DefaultGroupElement extends AbstractElement implements Element.GroupElement
Element.CalculatedElement, Element.ConstantElement, Element.FunctionElement, Element.GroupElement, Element.SimpleElement
icon, LOGGER
Constructor and Description |
---|
DefaultGroupElement(ExpressionEvaluatorSwingManager manager,
java.lang.String name,
java.util.List<Element> elements) |
DefaultGroupElement(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addElement(Element element) |
void |
addElement(Function function) |
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
Element |
get(int index) |
java.util.List<Element> |
getElements() |
java.util.Collection<Element> |
getValues() |
java.util.Iterator<Element> |
iterator() |
void |
reload() |
Element |
setConfig(ExpressionBuilderConfig config) |
int |
size() |
clone, cloneElement, compareTo, getAditionalPanel, getConfig, getDescription, getIcon, getIconName, getLabel, getName, getRenderedValue, getValue, hasMoreValues, isEnabled, setName, toString, used
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneElement, getAditionalPanel, getConfig, getDescription, getIcon, getIconName, getName, getRenderedValue, hasMoreValues, isEnabled, used
getLabel, getValue, label, toString
clone, cloneQuietly, cloneQuietly
public DefaultGroupElement(ExpressionEvaluatorSwingManager manager, java.lang.String name, java.util.List<Element> elements)
public DefaultGroupElement(java.lang.String name)
public java.util.List<Element> getElements()
getElements
in interface Element.GroupElement
public java.util.Collection<Element> getValues()
getValues
in interface Element
getValues
in class AbstractElement
public Element get(int index)
get
in interface Element.GroupElement
public int size()
size
in interface Element.GroupElement
public java.util.Iterator<Element> iterator()
iterator
in interface java.lang.Iterable<Element>
iterator
in interface Element.GroupElement
public void addElement(Element element)
addElement
in interface Element.GroupElement
public void addElement(Function function)
addElement
in interface Element.GroupElement
public Element setConfig(ExpressionBuilderConfig config)
setConfig
in interface Element
setConfig
in class AbstractElement
public void reload()
reload
in interface Element
reload
in class AbstractElement
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable
dispose
in class AbstractElement