public class GroupTreeNodeObject
extends java.lang.Object
GroupTreeModel.| Modifier | Constructor and Description |
|---|---|
protected |
GroupTreeNodeObject(GroupController groupController)
Instantiates a new group tree node object for the root node of
GroupTree. |
|
GroupTreeNodeObject(GroupController groupController,
GroupMember groupMember)
Instantiates a new group tree node object for a
GroupMember. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfigurationError()
Returns the configuration error.
|
java.util.HashMap<java.lang.String,EnergyAmount> |
getEnergyStorageCapacityHash()
Returns the energy storage capacity hash.
|
java.util.HashMap<java.lang.String,EnergyAmount> |
getEnergyStorageLoadHash()
Returns the energy storage load hash.
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getGoodStorageCapacityHash()
Returns the energy storage capacity hash.
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getGoodStorageLoadHash()
Returns the energy storage load hash.
|
GroupController |
getGroupController()
Returns the master
GroupController. |
GroupMember |
getGroupMember()
Returns the group member.
|
MemberEvaluationStrategy |
getGroupMemberEvaluationStrategy(AbstractGroupEvaluationStrategy groupEvaluationStrategy)
Returns the
MemberEvaluationStrategy for the specified AbstractGroupEvaluationStrategy. |
GroupController |
getGroupMemberGroupController()
Returns the group member group controller, if available.
|
OptionModelController |
getGroupMemberOptionModelController()
Returns the group member option model controller, if available.
|
ScheduleController |
getGroupMemberScheduleController()
Returns the group member schedule controller, if available.
|
GroupController.GroupMemberType |
getGroupMemberType()
Returns the group member type.
|
java.awt.Container |
getGroupMemberVisualisation()
Returns the visualisation for the current model.
|
javax.swing.Icon |
getNodeIcon()
Returns the closed icon for the current node element.
|
java.lang.String |
getSystemDescription(boolean useHTML)
Returns a textual system description.
|
TechnicalInterfaces |
getTechnicalInterfaces()
Returns the
TechnicalInterfaces that have to be taken into account for this system. |
java.lang.String |
getTooltip()
Returns the tool tip text for the current Node.
|
java.lang.Boolean |
hasConfigurationError()
Checks for configuration errors.
|
boolean |
isVisible()
Checks if is visible.
|
void |
resetGroupMemberEvaluationStrategies()
Resets all evaluation strategies for this member system.
|
void |
setEvaluationError(java.lang.String configError)
Sets the evaluation errors.
|
void |
setGroupMemberEvaluationStrategy(AbstractGroupEvaluationStrategy groupEvaluationStrategy,
MemberEvaluationStrategy evaluationStrategy)
Sets the
MemberEvaluationStrategyTechnicalSystem for the current groupEvaluationStrategy. |
void |
setGroupMemberVisualisation(java.awt.Container visualisation)
Sets the visualisation of this GroupMember.
|
void |
setVisible(boolean visible)
Sets the visible.
|
java.lang.String |
toString() |
java.lang.String |
toString(GroupTree.GroupNodeCaptionStyle captionStyle)
Returns the description in the specified caption style .
|
protected GroupTreeNodeObject(GroupController groupController)
GroupTree.groupController - the group controllerpublic GroupTreeNodeObject(GroupController groupController, GroupMember groupMember)
GroupMember.groupMember - the group member of the TechnicalSystemGroupTechnicalSystemGroup.getGroupMember()public void setGroupMemberVisualisation(java.awt.Container visualisation)
visualisation - the new group member visualisationpublic java.awt.Container getGroupMemberVisualisation()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(GroupTree.GroupNodeCaptionStyle captionStyle)
captionStyle - the required caption stylepublic java.lang.String getTooltip()
public java.lang.String getSystemDescription(boolean useHTML)
useHTML - set true, if you need a highlighted HTML textpublic javax.swing.Icon getNodeIcon()
public boolean isVisible()
public void setVisible(boolean visible)
visible - the new visiblepublic GroupMember getGroupMember()
public GroupController.GroupMemberType getGroupMemberType()
public GroupController getGroupController()
GroupController.public OptionModelController getGroupMemberOptionModelController()
public ScheduleController getGroupMemberScheduleController()
public GroupController getGroupMemberGroupController()
public void setEvaluationError(java.lang.String configError)
configError - the new evaluation errorspublic java.lang.Boolean hasConfigurationError()
public java.lang.String getConfigurationError()
public TechnicalInterfaces getTechnicalInterfaces()
TechnicalInterfaces that have to be taken into account for this system.public java.util.HashMap<java.lang.String,EnergyAmount> getEnergyStorageCapacityHash()
public java.util.HashMap<java.lang.String,EnergyAmount> getEnergyStorageLoadHash()
public java.util.HashMap<java.lang.String,java.lang.Double> getGoodStorageCapacityHash()
public java.util.HashMap<java.lang.String,java.lang.Double> getGoodStorageLoadHash()
public void resetGroupMemberEvaluationStrategies()
public void setGroupMemberEvaluationStrategy(AbstractGroupEvaluationStrategy groupEvaluationStrategy, MemberEvaluationStrategy evaluationStrategy)
MemberEvaluationStrategyTechnicalSystem for the current groupEvaluationStrategy.evaluationStrategy - the new evaluation strategyAbstractGroupEvaluationStrategypublic MemberEvaluationStrategy getGroupMemberEvaluationStrategy(AbstractGroupEvaluationStrategy groupEvaluationStrategy)
MemberEvaluationStrategy for the specified AbstractGroupEvaluationStrategy.
If not already available, the MemberEvaluationStrategy will be created on the fly in case that the
instance of the group evaluation strategy is not null.AbstractGroupEvaluationStrategy