public class ClusterUI extends Object implements ClusterStateListener, ArchipelagoUI
| Modifier and Type | Field and Description |
|---|---|
static String[] |
shellClasses |
| Modifier and Type | Method and Description |
|---|---|
static void |
doRowPanelLayout(Container container,
float containerWidth,
int height,
float[] weights,
Component... components)
Places Components into a Container with the layout used by NodeStatusPanel.
|
boolean |
loadFromFile(String file) |
static boolean |
started(Cluster c) |
void |
stateChanged(Cluster c) |
void |
updateUI() |
public static String[] shellClasses
public ClusterUI(Cluster c)
public ClusterUI()
public static boolean started(Cluster c)
public static void doRowPanelLayout(Container container, float containerWidth, int height, float[] weights, Component... components)
container - the container to lay outcontainerWidth - the total width of the containerheight - the height to use for the componentsweights - an array containing the width-weights for each component. This array should
have at least as many elements as there are components.components - the components to add to the containerpublic void updateUI()
public void stateChanged(Cluster c)
stateChanged in interface ClusterStateListenerpublic boolean loadFromFile(String file)
Copyright © 2015–2021 Fiji. All rights reserved.