|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog comirva.ui.ProbabilisticNetworkCreationDialog
public class ProbabilisticNetworkCreationDialog
This class implements a dialog for specifying the parameters of a Probabilistic-Network-Visualization.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
boolean |
confirmOperation
|
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ProbabilisticNetworkCreationDialog(Frame parent)
Creates a new instance of the PN-parameter dialog and initializes it. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent actionEvent)
|
int |
getAdaptationRunsEpochs()
Returns the number of iterations in epochs the adaptation process is performed. |
double |
getAdaptationThreshold()
Returns the adaptation threshold the user has selected with the slider. |
int |
getGridSize()
Returns the grid size used for vertex placement which the user has selected with the slider. |
int |
getMaxDistReduction()
Returns the maximum distance reduction between two data points in the adaptation process the user has selected with the slider. |
int |
getMaxEdgeThickness()
Returns the maximum thickness for an edge the user has selected with the slider. |
int |
getMaxVertexDiameter()
Returns the maximum vertex diameter for a data point the user has selected with the slider. |
int |
getMinVertexDiameter()
Returns the minimum vertex diameter for a data point the user has selected with the slider. |
double |
getProbCorrection()
Returns the probability correction for drawing edges the user has selected with the slider. |
void |
setConfig(ProbabilisticNetworkConfig pnCfg)
Sets the values of the configuration dialog to the ones specified by the given ProbabilisticNetworkConfig-instance. |
void |
stateChanged(ChangeEvent e)
|
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean confirmOperation
Constructor Detail |
---|
public ProbabilisticNetworkCreationDialog(Frame parent)
parent
- the Frame of the parent window where the dialog should be displayedMethod Detail |
---|
public int getMaxEdgeThickness()
public int getMaxDistReduction()
public int getMaxVertexDiameter()
public int getMinVertexDiameter()
public double getProbCorrection()
i
and j
is drawn
with a probability that equals the similarity between i
and j
multiplied
with the probability correction.
public int getAdaptationRunsEpochs()
numberOfDataItems^2
times.
public double getAdaptationThreshold()
i, j
that have a similarity
greater than the adaptation threshold.
public int getGridSize()
public void setConfig(ProbabilisticNetworkConfig pnCfg)
pnCfg
- the ProbabilisticNetworkConfig-instance containing the values for the dialogpublic void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
ChangeListener.stateChanged(javax.swing.event.ChangeEvent)
public void actionPerformed(ActionEvent actionEvent)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |