|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.esom.tool.AbstractTool
databionics.esom.tool.dataclass.DataclassTool
public class DataclassTool
Field Summary | |
---|---|
protected javax.swing.JCheckBox |
chkLetters
Button controls wether the ClassBestmatchRenderer draws b/w Letters instead of coloured squares |
protected ColorTable |
colorTable
|
protected DataClass |
currentClass
|
protected ClsFile |
data
|
protected javax.swing.JButton |
mapspace
|
Fields inherited from class databionics.esom.tool.AbstractTool |
---|
application, bottomBar, bottomTab, btnClear, btnLoad, btnPaint, btnSave, clearItm, clickMode, controlButton, creatorPanel, dataTable, dataTableModel, displayPanel, dragMode, drawing, fileMenu, filename, gui, loader, loadItm, log, moveCallback, pnlControl, polygonMode, popMenu, removeItm, renderer, renderPanel, saveItm, toolBar, toolRenderer |
Constructor Summary | |
---|---|
DataclassTool(boolean gui,
Application application)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
handles the performed action |
void |
calculateMapSpace()
calcuate the map space of each class |
ColorTable |
getColorTable()
|
DataClass |
getCurrentclass()
|
ClsFile |
getData()
|
javax.swing.JMenuItem |
getLoadItm()
|
javax.swing.JMenuItem |
getSaveItm()
|
java.lang.String |
getShortTitle()
|
void |
init()
Initialize what needs to be Initialized. |
boolean |
load(java.lang.String filename)
|
void |
reset()
reset the tool. |
boolean |
save(java.lang.String filename)
|
void |
setColorTable(ColorTable colorTable)
|
void |
setCurrentclass(DataClass currentclass)
|
void |
setData(ClsFile data)
|
void |
setData(java.lang.Object object)
|
void |
setDrawing(boolean drawing)
set the drawing mode for this tool. |
void |
update()
Updates all gui elements, if not null. |
Methods inherited from class databionics.esom.tool.AbstractTool |
---|
callback, getApplication, getBottomTab, getCallback, getControlButton, getCreatorPanel, getDataTable, getDataTableModel, getDisplayPanel, getFileMenu, getFilename, getLoader, getMessage, getMoveCallback, getPnlControl, getPopMenu, getRenderer, getToolBar, getToolRenderer, initGui, isClickMode, isDragMode, isDrawing, isGui, isPolygonMode, moveSelection, reAreas, reColorize, reDraw, reFore, reMask, rePostFore, rePreFore, reRender, reTile, reZoom, select, setApplication, setBottomTab, setCallback, setClickMode, setControlButton, setCreatorPanel, setCtrlAccelerator, setDataTable, setDataTableModel, setDisplayPanel, setDragMode, setFilename, setLoader, setMoveCallback, setPolygonMode, setRenderer, setToolBar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ColorTable colorTable
protected DataClass currentClass
protected ClsFile data
protected javax.swing.JCheckBox chkLetters
protected javax.swing.JButton mapspace
Constructor Detail |
---|
public DataclassTool(boolean gui, Application application)
Method Detail |
---|
public void init()
AbstractTool
init
in class AbstractTool
public void reset()
AbstractTool
reset
in class AbstractTool
public void update()
AbstractTool
update
in class AbstractTool
public boolean load(java.lang.String filename)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class AbstractTool
Actionevent
- epublic boolean save(java.lang.String filename)
public void setData(java.lang.Object object)
public void calculateMapSpace()
public ColorTable getColorTable()
public void setColorTable(ColorTable colorTable)
colorTable
- The colorTable to set.public DataClass getCurrentclass()
public void setCurrentclass(DataClass currentclass)
currentclass
- The currentclass to set.public javax.swing.JMenuItem getLoadItm()
public javax.swing.JMenuItem getSaveItm()
public java.lang.String getShortTitle()
getShortTitle
in class AbstractTool
public void setDrawing(boolean drawing)
AbstractTool
setDrawing
in class AbstractTool
drawing
- The drawing to set.public ClsFile getData()
public void setData(ClsFile data)
data
- The data to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |