Public Member Functions | |
NodeFrame | getFNode (String node) |
Controller () | |
void | refreshView () |
void | createNodeView (HashMap nodeProperties) |
void | updateNodesFrames () |
void | updateHistoricalData () |
void | updateHistoricalFrames () |
void | updateOneHistoricalFrame (String nodeName) |
void | createHistFrame (String nodeName) |
void | moveHistFrameToFront (JInternalFrame frame) |
int | roundPercentage (HashMap specs, String partField, String totalField) |
Private Member Functions | |
void | updateRefreshPeriod (long period) |
Private Attributes | |
long | refreshPeriod |
Timer | timer |
ClusterView | view |
HashMap | clusterInfo |
ORB | orb |
InternalFrameHandler | handler |
HashMap | seleNodes |
NodeFrame | fNode |
HistoricalFrame | histFrame |
HashMap | historicalFrames |
HashMap | historicalNodes |
HistoricalNode | hNode |
int | historicalNodesCount |
Controller
class acts as the controller component of the MVC model. It decouples the code that handle the actions of the users from the view.
|
|
|
This method "creates a historicalFrame for a selected node". It's called by the updateOneHistoricalFrame(String nodeName) method.
|
|
This method "creates a nodeFrame for a selected node, yet not created" It is called by a mouse click event handler when an user select an item at the nodes list by a double click on it.
|
|
|
|
This method "moves a historicalFrame to front".
|
|
This method refreshes the cluster information, by looking up in the trader. |
|
|
|
This method "updates historical nodes information for all nodes", and it's callled by the "refreshView" method. That method is called either periodically, by timer events, or by the "refresh now" button event handler when an user press the "refresh now" button.
|
|
This method updates "historical charts for currently opened historical views", and it's callled by the "refreshView" method. That method is called either periodically, by timer events, or by the "refresh now" button event handler when an user press the "refresh now" button.
|
|
This method "updates information for currently opened node frames" and it's callled by the "refreshView" method. That method is called either periodically, by timer events, or by the "refresh now" button event handler when an user press the "refresh now" button.
|
|
This method "updates a historicalFrame for a selected node". It is called by an ItemEvent handler when an user click on a "JCheckBox" at a specific node frame.
|
|
This method updates the refreshing period.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|