public class WorldImageProducer extends Canvas
Canvas.AccessibleAWTCanvasComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
static boolean |
addTinyVals |
static int |
adjustSampleRadius |
int |
background |
int[][] |
bdist |
int |
black |
boolean |
blackandwhite |
double |
breakpoint |
static double[] |
categories |
static int |
CLASS |
int[] |
classColor |
String[] |
className |
static int |
defaultSampleRadius |
boolean |
dichromatic |
Color[] |
dichromaticColors |
static double |
divisor |
density.Grid |
grid |
boolean |
gridnull |
BufferedImage |
img |
String |
initialTimeLabel |
int |
linecol |
int |
linerow |
static int |
LOG |
boolean |
makeLegend |
static boolean |
makeNorth |
boolean |
makeTimeline |
double |
max |
int |
maxborder |
static int |
maxFracDigits |
int |
maxTimeIntervals |
double |
maxval |
int |
maxx |
int |
maxy |
double |
min |
double |
minval |
int |
minx |
int |
miny |
int |
mode |
static int |
numCategories |
int[] |
pixels |
static int |
PLAIN |
boolean |
redandyellow |
int |
sampleColor |
int |
sampleRadius |
density.Sample[] |
samples |
int |
scale |
static boolean |
setNumCategoriesByMax |
int |
testSampleColor |
density.Sample[] |
testsamples |
int |
timeIndex |
String |
timeLabel |
static boolean |
toggleSampleColor |
boolean |
visible |
int |
white |
static double |
xline |
int |
xOffset |
static double |
yline |
int |
yOffset |
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
WorldImageProducer(density.Grid grid) |
WorldImageProducer(density.Grid grid,
int minrows,
int mincols) |
| Modifier and Type | Method and Description |
|---|---|
Dimension |
getPreferredSize() |
void |
makeImage() |
void |
paint(Graphics g) |
void |
setClassNames(String s) |
void |
setClassNames(String[] s) |
void |
setColorClasses(String s) |
void |
setGrid(density.Grid grid,
int minrows,
int mincols) |
void |
setMaxval(double m) |
void |
setMinval(double m) |
void |
setMode(int i) |
void |
setTestSamples(density.Sample[] s) |
void |
setTime(int maxTimeFrames,
int timeFrame,
String initialTimeLabel,
String currentTimeLabel) |
void |
update(Graphics g) |
void |
writeImage(String outFile) |
void |
writeImage(String outFile,
int magstep) |
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategyaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validatepublic boolean gridnull
public BufferedImage img
public int scale
public int mode
public static final int LOG
public static final int PLAIN
public static final int CLASS
public int[] classColor
public String[] className
public density.Grid grid
public boolean blackandwhite
public boolean redandyellow
public boolean dichromatic
public Color[] dichromaticColors
public static boolean toggleSampleColor
public int background
public double breakpoint
public int[] pixels
public int minx
public int maxx
public int miny
public int maxy
public density.Sample[] samples
public density.Sample[] testsamples
public boolean visible
public boolean makeLegend
public boolean makeTimeline
public String initialTimeLabel
public String timeLabel
public int maxTimeIntervals
public int timeIndex
public static boolean setNumCategoriesByMax
public static boolean makeNorth
public static int defaultSampleRadius
public static int adjustSampleRadius
public static int numCategories
public static double[] categories
public static int maxFracDigits
public static double divisor
public double minval
public double maxval
public int xOffset
public int yOffset
public static double xline
public static double yline
public int linerow
public int linecol
public int white
public int black
public int sampleColor
public int testSampleColor
public int sampleRadius
public double min
public double max
public int maxborder
public int[][] bdist
public static boolean addTinyVals
public WorldImageProducer(density.Grid grid,
int minrows,
int mincols)
public WorldImageProducer(density.Grid grid)
public void setClassNames(String s)
public void setClassNames(String[] s)
public void setColorClasses(String s)
public void setMinval(double m)
public void setMaxval(double m)
public void setMode(int i)
public void setGrid(density.Grid grid,
int minrows,
int mincols)
public void setTestSamples(density.Sample[] s)
public void setTime(int maxTimeFrames,
int timeFrame,
String initialTimeLabel,
String currentTimeLabel)
public void makeImage()
public void writeImage(String outFile)
public void writeImage(String outFile, int magstep)
public Dimension getPreferredSize()
getPreferredSize in class ComponentCopyright © 2021. All Rights Reserved.