Class DistributionsEditor.BurstRenderer
java.lang.Object
common.editors.DistributionsEditor.BurstRenderer
- Enclosing class:
DistributionsEditor
Class encapsulation methods to render Burst parameters
- Author:
- Peter Parapatics, Federico Dal Castello
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDistribution(String name, int key, JPanel intervalPanel) Adds a distribution to the given panelprotected voidaddInterval(String name, JPanel panel) Renders the border and the position of the given panel and adds it to the scrolled panelprotected voidaddProbability(Container intervalPanel, boolean intervalA) Add a probability to an interval Panel If the probability is for interval B the value is displayed as 1-probabilityprotected voidaddRoundRobin(Container intervalPanel) Adds a Round-Robin checkbox to an interval panel
-
Constructor Details
-
BurstRenderer
public BurstRenderer()
-
-
Method Details
-
addInterval
-
addDistribution
Adds a distribution to the given panel- Parameters:
name- the name to be displayed on the label before the distributionkey- to which parameter number in the Burst Distribution this nested distribution correspondsintervalPanel- the panel to which the distribution should be added
-
addProbability
Add a probability to an interval Panel If the probability is for interval B the value is displayed as 1-probability- Parameters:
intervalPanel- the intervalPanelintervalA- if the probability is for interval A or B
-
addRoundRobin
Adds a Round-Robin checkbox to an interval panel- Parameters:
intervalPanel- the interval panel
-