|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsources.LDataSet
Class to represent a dataset. This class is responsible for opening most of the graphical displays, goupes the variables and contain all further information about the dataset.
Field Summary | |
java.awt.Cursor |
actualCursor
|
java.awt.Cursor |
anchorCursor
|
java.awt.Color |
bgrColor
Background Color |
java.awt.Cursor |
binwidthCursor
|
javax.swing.JDesktopPane |
dkp
|
Variable |
dragvar
|
java.lang.String |
dsDir
Dataset Directory |
java.awt.Color |
foreColor
Foreground Color |
java.lang.String |
homeDir
Home Directory |
boolean |
isDSFrameVisible
|
boolean |
isImageFrameVisible
|
boolean |
isMapFrameVisible
|
boolean |
isOverviewVisible
|
GeoMap[] |
map
|
java.awt.Color |
mapColor
Map Color |
MapImage[] |
mapi
|
MaFrame |
mf
|
MapImageFrame |
mif
|
java.awt.Cursor |
queryCursor
|
java.awt.Color |
selColor
Selection Color |
java.awt.Cursor |
selCursor
|
int |
selectionState
SelectionState |
java.awt.Cursor |
zoomInCursor
|
java.awt.Cursor |
zoomOutCursor
|
Constructor Summary | |
LDataSet()
Creates new LDataSet. |
|
LDataSet(Variable[] variables,
java.lang.String name,
javax.swing.JDesktopPane pane,
NetworkFrame parent)
Creates a new LDataSet |
Method Summary | |
void |
addVariable(Variable vari)
|
void |
closeDSFrame()
|
void |
closeImageFrame()
|
void |
closeMapFrame()
|
void |
closeOverview()
|
void |
cMap(java.lang.String name,
CategorialVariable[] vars)
|
DataSetFrame |
createDataSetFrame()
Creates a DataSetFrame |
static LDataSet |
createDataSetfromFile(java.lang.String name,
javax.swing.JDesktopPane pane,
NetworkFrame parent)
Create a LDataSet from a File |
void |
createFlowFrame(ContinuousVariable vx1,
ContinuousVariable vy1,
ContinuousVariable vx2,
ContinuousVariable vy2,
CategorialVariable cat1,
CategorialVariable cat2)
Create a FlowFrame |
void |
createMap(java.lang.String name,
CategorialVariable[] vars)
|
void |
delete()
|
void |
flowOption()
Open a FlowOptionFrame |
int |
getAnzCases()
returns the number of cases |
int |
getAnzVars()
Returns the # variables |
static void |
getContOrdVarNames(LDataSet dat,
javax.swing.JComboBox box)
|
javax.swing.JDesktopPane |
getDesktop()
Retruns the JDesktopPane of this LDataSet |
JPEGSaver |
getJPEGSaver()
Returns the JPEGSaver of this LDataSet |
java.lang.String |
getName()
Returns the name of this LDataSet |
boolean[] |
getOpenVarFrames()
Returns all currently open VarFrames |
Overviewer |
getOverview()
|
int |
getSelContVar()
|
boolean[] |
getSelectedVars()
returns all selected Variables |
Selectioner |
getSelectioner()
Returns the Selectioner of this LDataSet |
java.lang.String |
getShortName()
Returns the short name of this LDataSet |
Variable |
getVar(int i)
Returns the ith Variable |
java.lang.String[] |
getVarNames()
Returns all variable names |
int |
getVarType(int i)
returns the type of the variable |
void |
group()
|
void |
iImage(java.lang.String name)
|
void |
importImage(javax.swing.JFrame par)
|
void |
importImageWithoutDialog(java.lang.String imagename)
|
void |
importMap(javax.swing.JFrame par)
|
void |
importMapWithoutDialog(java.lang.String mapname,
javax.swing.JFrame par)
|
static void |
main(java.lang.String[] args)
main-test function |
void |
makeNonContinuousCartogram()
|
void |
makeNPointMapAlgorithm(double eps,
int n,
int art)
|
void |
openDSFrame()
|
void |
openImageFrame()
|
void |
openMapFrame()
|
void |
openOverview()
|
void |
print()
print the currently selected window |
void |
removeVariable(int index)
|
void |
save(javax.swing.JFrame parent)
save the currently selected window |
void |
selectAll()
|
void |
setactualCursor(int i)
|
static void |
setContOrdNames(LDataSet dat,
int sel)
|
void |
setOver()
|
void |
setProperties(java.awt.Color fore,
java.awt.Color bgr,
java.awt.Color sel,
java.awt.Color map,
java.lang.String home,
java.lang.String ds)
Sets the Properties for this LDataSet |
void |
setSelContVar(int c)
|
void |
setSelectionState(int i)
|
void |
showBarcharts()
|
void |
showDotPlots()
|
void |
showHistograms()
|
void |
showmaps()
|
void |
showMosaic()
|
void |
showPC()
|
void |
showScatterPlot()
|
void |
showSymDiagrams()
|
void |
sort(boolean up)
Sorts all visible variables |
void |
varFramesopen()
Open JInternalFrames for all selected Variables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean isDSFrameVisible
public boolean isOverviewVisible
public boolean isImageFrameVisible
public boolean isMapFrameVisible
public javax.swing.JDesktopPane dkp
public MaFrame mf
public GeoMap[] map
public MapImageFrame mif
public MapImage[] mapi
public java.awt.Color foreColor
public java.awt.Color bgrColor
public java.awt.Color selColor
public java.awt.Color mapColor
public java.lang.String homeDir
public java.lang.String dsDir
public int selectionState
public java.awt.Cursor zoomInCursor
public java.awt.Cursor zoomOutCursor
public java.awt.Cursor selCursor
public java.awt.Cursor queryCursor
public java.awt.Cursor actualCursor
public java.awt.Cursor anchorCursor
public java.awt.Cursor binwidthCursor
public Variable dragvar
Constructor Detail |
public LDataSet()
public LDataSet(Variable[] variables, java.lang.String name, javax.swing.JDesktopPane pane, NetworkFrame parent)
variables
- A list of variablesname
- the name of the datasetpane
- the JDesktopPane of this LDataSetMethod Detail |
public void setProperties(java.awt.Color fore, java.awt.Color bgr, java.awt.Color sel, java.awt.Color map, java.lang.String home, java.lang.String ds)
fore
- Foreground Colorbgr
- Background Colorsel
- Selection Colormap
- Map Colorhome
- Home Directoryds
- Dataset Directorypublic void print()
public void save(javax.swing.JFrame parent)
parent
- the parental JFrame of this LDataSetpublic boolean[] getOpenVarFrames()
public int getAnzVars()
public int getAnzCases()
public JPEGSaver getJPEGSaver()
public java.lang.String getName()
public java.lang.String getShortName()
public Selectioner getSelectioner()
public javax.swing.JDesktopPane getDesktop()
public java.lang.String[] getVarNames()
public int getVarType(int i)
i
- the variable to get the type
public Variable getVar(int i)
i
- the Variable number
public void varFramesopen()
public void flowOption()
public void createFlowFrame(ContinuousVariable vx1, ContinuousVariable vy1, ContinuousVariable vx2, ContinuousVariable vy2, CategorialVariable cat1, CategorialVariable cat2)
vx1
- X-Coordinates of sourcesvy1
- Y-Coordinates of sourcesvx2
- X-Coordinates of targetsvy2
- Y-Coordinates of targetspublic boolean[] getSelectedVars()
public DataSetFrame createDataSetFrame()
public void showBarcharts()
public void showMosaic()
public void showDotPlots()
public void showmaps()
public void showScatterPlot()
public void showHistograms()
public void showSymDiagrams()
public void showPC()
public void sort(boolean up)
up
- true: upwards
false: downwardspublic static LDataSet createDataSetfromFile(java.lang.String name, javax.swing.JDesktopPane pane, NetworkFrame parent)
name
- the filename of the datapane
- the JDesktopPane for this LDataSet
public static void main(java.lang.String[] args)
args
- argspublic void setactualCursor(int i)
public void setSelectionState(int i)
public void importMap(javax.swing.JFrame par)
public void importMapWithoutDialog(java.lang.String mapname, javax.swing.JFrame par)
public void importImage(javax.swing.JFrame par)
public void importImageWithoutDialog(java.lang.String imagename)
public void iImage(java.lang.String name)
public void createMap(java.lang.String name, CategorialVariable[] vars)
public void cMap(java.lang.String name, CategorialVariable[] vars)
public void addVariable(Variable vari)
public void removeVariable(int index)
public void delete()
public void group()
public void selectAll()
public void makeNPointMapAlgorithm(double eps, int n, int art)
public void makeNonContinuousCartogram()
public Overviewer getOverview()
public void setOver()
public void setSelContVar(int c)
public int getSelContVar()
public static void getContOrdVarNames(LDataSet dat, javax.swing.JComboBox box)
public static void setContOrdNames(LDataSet dat, int sel)
public void closeDSFrame()
public void openDSFrame()
public void openOverview()
public void closeOverview()
public void closeImageFrame()
public void openImageFrame()
public void closeMapFrame()
public void openMapFrame()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |