|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvitro.DataView
public class DataView
DataView contains the backing logic for rendering data structures used by DataAnnotation- it can also be used within your own Views and debugging tools.
Constructor Summary | |
---|---|
DataView(Object o,
ColorScheme colorScheme)
Construct a DataView for a given set of data structures, honoring specific ColorScheme. |
Method Summary | |
---|---|
void |
draw(Graphics g)
Draw the DataView to the origin of a Graphics surface. |
int |
height()
The height of the DataView, in pixels. |
int |
width()
The width of the DataView, in pixels. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataView(Object o, ColorScheme colorScheme)
o
- the data structure to visualize.colorScheme
- the ColorScheme to use during drawing.Method Detail |
---|
public void draw(Graphics g)
g
- the destination Graphics surface.public int width()
public int height()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |