|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
jview.JExitFrame
jview.JConfirmExitFrame
jview.JBorderFrame
jview.JExpressionFrame
jview.JPhaseFrame
public class JPhaseFrame
A phase frame uses a special expression that transforms input data time into phase. This is done by using the period spinner. If the model fit should be displayed, a linear regression to the data is performed that allows the determination of the period and the time zero point.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jview.JExpressionFrame |
|---|
JExpressionFrame.Show |
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| 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 | |
|---|---|
private DataAnalysing |
data
The data source for the fit analyser. |
private static int |
DEFFITCOUNT
Number of fit points. |
private static double |
DEFFITEND
Starting point of default fits. |
private static double |
DEFFITSTART
Starting point of default fits. |
private static long |
DEFOFFLINETIME
Default offline time. |
private static boolean |
DEFSHOWFIT
Per default, we show the fit. |
private static boolean |
DEFSHOWMODEL
Per default, we do not show the model. |
private static double |
DEFSIGTOSTEP
Default conversion from sigma of parameter to step in spinner. |
private Analyser |
fit
The fit analyser. |
static String |
FIT
The name of the fit set. |
static String |
KEY_FITCOUNT
The number of pixels in the fit. |
static String |
KEY_FITEND
The end value for the fits. |
static String |
KEY_FITSTART
The starting value for the fits. |
static String |
KEY_OFFLINETIME
Maximum time for the period fit to be calculated inline. |
static String |
KEY_SHOWFIT
If true, we add the phase fit. |
static String |
KEY_SHOWMODEL
If true, we add the phase model. |
static String |
KEY_SIGTOSTEP
Converts parameter sigma to step in spinners. |
static String |
MODEL
The name of the model set. |
| Fields inherited from class jview.JExpressionFrame |
|---|
EQUAL, KEY_ADJUSTABLE, KEY_ADJUSTINIT, KEY_ADJUSTSTEP, KEY_CANVAS, KEY_FIXED, KEY_FIXEDERROR, KEY_FIXEDFORMAT, KEY_FIXEDUNITS |
| Fields inherited from class jview.JBorderFrame |
|---|
DATACLEANSE, KEY_ABOUTURL, KEY_ACTIONCLASS, KEY_AIPLOGO, KEY_BIGGERSTRUT, KEY_DATAANALYSER, KEY_EASTALIGNMENT, KEY_FITTERS, KEY_FITTERTIPS, KEY_HELPSIZE, KEY_LESSERSTRUT, KEY_NOLOGO, KEY_NORTHALIGNMENT, KEY_SOUTHALIGNMENT, KEY_WESTALIGNMENT, MODELFITTER |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface jview.BorderLabels |
|---|
KEY_ABOUT, KEY_ABOUTACC, KEY_FILEACCS, KEY_FILEITEMS, KEY_FILEMENU, KEY_FILEMNEMONIC, KEY_HELPMENU, KEY_HELPMNEMONIC, KEY_HELPTITLE, KEY_NOHELP, KEY_NOURLACCESS, KEY_TITLE |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JPhaseFrame(LocalizedSupplying prop)
Constructs a new phase frame. |
|
| Method Summary | |
|---|---|
private void |
applyMetaMap(Map.Entry[] meta)
Tha analyser returned metadata that is an array of mappings. |
protected boolean |
cache(String name,
Number val)
The update variable is called from the outside. |
protected List<Object> |
getBottomItems()
We have no bottom. |
void |
init()
We fill the special fit set with a mesh. |
private boolean |
reanalyse(VectorG[] in)
The analyser action. |
void |
setComposedProperties(LocalizedSupplying info)
Defaults values. |
void |
setFitAnalyser(Analyser anal)
Sets the analyser to use. |
void |
setFitSource(DataAnalysing dsrc)
Sets the data source for the analyser. |
| Methods inherited from class jview.JExpressionFrame |
|---|
createCanvas, getData, getRepresentation, getRightItems, getValue, replot, setData, updateCanvas, updateVariable |
| Methods inherited from class jview.JConfirmExitFrame |
|---|
disposeAndExit, disposeImmediately |
| Methods inherited from class jview.JExitFrame |
|---|
setVisible |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static final String FIT
public static final String MODEL
public static final String KEY_SHOWFIT
public static final String KEY_SHOWMODEL
public static final String KEY_FITSTART
public static final String KEY_FITEND
public static final String KEY_FITCOUNT
public static final String KEY_SIGTOSTEP
public static final String KEY_OFFLINETIME
private static final boolean DEFSHOWFIT
private static final boolean DEFSHOWMODEL
private static final double DEFFITSTART
private static final double DEFFITEND
private static final int DEFFITCOUNT
private static final double DEFSIGTOSTEP
private static final long DEFOFFLINETIME
private DataAnalysing data
private Analyser fit
| Constructor Detail |
|---|
public JPhaseFrame(LocalizedSupplying prop)
| Method Detail |
|---|
public void setComposedProperties(LocalizedSupplying info)
setComposedProperties in interface LocalizedAwaresetComposedProperties in class JBorderFramepublic void init()
init in interface Initializableinit in class JExpressionFramepublic void setFitAnalyser(Analyser anal)
public void setFitSource(DataAnalysing dsrc)
protected List<Object> getBottomItems()
getBottomItems in class JBorderFrame
protected boolean cache(String name,
Number val)
PhaseRegression.KEY_PERIOD, we additionally update
our fit.
cache in class JExpressionFrameprivate boolean reanalyse(VectorG[] in)
private void applyMetaMap(Map.Entry[] meta)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||