|
Parkinson Disease Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspirals.data.viewers.TabletDataViewer
spirals.data.viewers.SimpleTabletDataViewer
public class SimpleTabletDataViewer
Nejjednosušší třída pro zobrazování dat.
Copyright: Copyright (c) 2005 Jan Dolezel
Company: ČVUT FEL, Prague
Field Summary | |
---|---|
protected int |
border
number of pixels between active area and border |
Fields inherited from class spirals.data.viewers.TabletDataViewer |
---|
all, controls, data, screen, showUp, tabletData, ti |
Constructor Summary | |
---|---|
SimpleTabletDataViewer(javax.swing.JPanel screen,
javax.swing.JPanel controls,
Data data,
boolean all,
boolean showUp)
|
Method Summary | |
---|---|
protected void |
clearWindow(java.awt.Graphics g)
vymaže okno |
protected void |
drawTablet(java.awt.Graphics g)
vykreslí obrysy tabletu |
java.lang.String |
getDescription()
vrátí textový popis prohlížeče |
protected double |
getKoeficient()
|
protected int |
getOffsetX()
posunutí tabletu v souřadnicích tabletu |
protected int |
getOffsetY()
posunutí tabletu v souřadnicích tabletu |
protected int |
getPictureHeight()
|
protected int |
getPictureWidth()
|
protected int |
getScreenHeight()
|
protected int |
getScreenWidth()
|
protected int |
getTabletOffsetX()
vrací číslo, kde na plátně je nejlevější bod tabletu |
protected int |
getTabletOffsetY()
vrací číslo, kde na plátně je nejvyšší bod tabletu |
private void |
install()
|
void |
paint(java.awt.Graphics g)
načrtne tablet a vykreslí data |
protected void |
paintData(java.awt.Graphics g,
TabletData tabletData)
vlastní kreslení dat |
protected void |
setDrawColor(java.awt.Graphics g,
int index)
|
Methods inherited from class spirals.data.viewers.TabletDataViewer |
---|
disableControls, repaint, setTabletData, setTabletInfo, updateControls, updateData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int border
Constructor Detail |
---|
public SimpleTabletDataViewer(javax.swing.JPanel screen, javax.swing.JPanel controls, Data data, boolean all, boolean showUp)
Method Detail |
---|
private void install()
public void paint(java.awt.Graphics g)
paint
in class TabletDataViewer
g
- Graphicsprotected void clearWindow(java.awt.Graphics g)
g
- Graphicsprotected void drawTablet(java.awt.Graphics g)
g
- Graphicsprotected void paintData(java.awt.Graphics g, TabletData tabletData)
g
- Graphicsprotected void setDrawColor(java.awt.Graphics g, int index)
protected int getScreenWidth()
protected int getScreenHeight()
protected double getKoeficient()
protected int getPictureWidth()
protected int getPictureHeight()
protected int getTabletOffsetX()
protected int getTabletOffsetY()
protected int getOffsetX()
protected int getOffsetY()
public java.lang.String getDescription()
TabletDataViewer
getDescription
in class TabletDataViewer
|
Parkinson Disease Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |