public class ResourceComponent extends ListComponent<ICEResource>
iComponentVisitor
iComponentListener
Constructor and Description |
---|
ResourceComponent()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IComponentVisitor visitor)
Accepts a visitor to reveal the type of the ResourceComponent.
|
void |
addResource(ICEResource resource)
This operation adds an ICEResource to the component.
|
void |
clearResources()
An operation that clears all the ICEResources stored on the
ResourceComponent.
|
java.lang.Object |
clone()
This operation provides a deep copy of the ResourceComponent.
|
boolean |
equals(java.lang.Object otherResourceComponent)
This operation is used to check equality between the ResourceComponent
and another ResourceComponent.
|
java.util.ArrayList<ICEResource> |
getResources()
This operation gets all of the ICEResources from the component.
|
addListEventListener, copy, getColumnCount, getColumnName, getColumnValue, getDescription, getElementSource, getId, getName, getTableFormat, hashCode, isEditable, listChanged, register, removeListEventListener, setColumnValue, setDescription, setElementSource, setId, setName, setTableFormat, unregister, update
add, addAll, clear, dispose, get, remove, removeAll, retainAll, set, size
public void addResource(ICEResource resource)
resource
- The new resource to add.public java.util.ArrayList<ICEResource> getResources()
public void clearResources()
public java.lang.Object clone()
clone
in interface Identifiable
clone
in class ListComponent<ICEResource>
public boolean equals(java.lang.Object otherResourceComponent)
equals
in interface java.util.Collection<ICEResource>
equals
in interface java.util.List<ICEResource>
equals
in interface Identifiable
equals
in class ListComponent<ICEResource>
otherResourceComponent
- The other ResourceComponent whose information should be
compared to this ResourceComponent.Identifiable.equals(Object otherObject)
public void accept(IComponentVisitor visitor)
accept
in interface Component
accept
in class ListComponent<ICEResource>
visitor
- The visitor
Component.accept(IComponentVisitor)