public final class InspcCurveView extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
GralUserAction |
actionColorSelectorOpen |
GralColorSelector.SetColorIfc |
actionColorSet |
GralUserAction |
actionFocusScaling |
GralUserAction |
actionKeyHandlingTable |
GralUserAction |
actionShowCursorValues |
GralUserAction |
actionTrackSelectedFromGralCurveViewCtrlMousePressed |
static java.lang.String |
sBtnReadCfg |
static java.lang.String |
sBtnReadValues |
static java.lang.String |
sBtnSaveCfg |
static java.lang.String |
sBtnSaveValues |
protected java.lang.String |
sName |
static java.lang.String |
sVersion
Version, history and license.
|
Modifier and Type | Method and Description |
---|---|
void |
buildGraphic(GralWindow_ifc wind,
GralColorSelector colorSelector,
GralCurveView.CommonCurve common)
Builds the graphic, it should be called only one time on startup in the graphic thread
|
protected void |
chgSelectedTrack(GralCurveViewTrack_ifc trackNew) |
protected boolean |
deleteVariable(int actionCode,
GralWidget widgd,
boolean bInsert) |
protected boolean |
dropVariable(int actionCode,
GralWidget widgd,
boolean bInsert) |
protected void |
readCurve(java.io.File file)
Reads a curve ///
|
protected void |
saveCurve(GralCurveView_ifc.ModeWrite mode)
Saves a curve ///
|
void |
stepSaveCurve()
Step routine to save a curve.
|
public GralUserAction actionColorSelectorOpen
public GralColorSelector.SetColorIfc actionColorSet
public GralUserAction actionFocusScaling
public GralUserAction actionKeyHandlingTable
public GralUserAction actionShowCursorValues
public GralUserAction actionTrackSelectedFromGralCurveViewCtrlMousePressed
public static java.lang.String sBtnReadCfg
public static java.lang.String sBtnReadValues
public static java.lang.String sBtnSaveCfg
public static java.lang.String sBtnSaveValues
protected final java.lang.String sName
public static final java.lang.String sVersion
GralCurveViewTrack_ifc
which refers a GralCurveView.Track
.
fillTableTracks()
, content from actionReadCfg(int, GralWidget_ifc, Object...)
but also invoked in actionReadValues(int, GralWidget_ifc, Object...)
. That may add tracks.
GralTable.getCellTextFocus()
is called to get the datapath as text. This is a new line, it is added.
Therewith now it is easy to add lines to an empty table via path in clibboard.
#actionTrackSelected
with ctrl and left mouse pressed
actionSwapVariable
, actionShiftVariable
actionSwapVariable
, actionSelectOrChgVarPath
GralFileSelectWindow
TrackValues#trackView
is the reference to the track in the
GralCurveView
instance. If a new config is loaded all tracks in GralCurveView.getTrackInfo()
are created newly using GralCurveView.addTrack(String, String, GralColor, int, int, float, float)
.
Therefore the TrackValues#trackView
should be updated.
GralCurveView
in a special window
with the communication in InspcMng
.
public void buildGraphic(GralWindow_ifc wind, GralColorSelector colorSelector, GralCurveView.CommonCurve common)
wind
- The main window where the menu to open will be addedsName
- The name, used for menu entry too, sample "curve A"protected void chgSelectedTrack(GralCurveViewTrack_ifc trackNew)
protected boolean deleteVariable(int actionCode, GralWidget widgd, boolean bInsert)
protected boolean dropVariable(int actionCode, GralWidget widgd, boolean bInsert)
protected void readCurve(java.io.File file)
protected void saveCurve(GralCurveView_ifc.ModeWrite mode)
public void stepSaveCurve()