|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
de.fhkl.zw.mkup.rattrap.PieCharts
public class PieCharts
This class is responsible for the piechart visualization.
Field Summary |
---|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
PieCharts()
The constructor initializes the charts. |
Method Summary | |
---|---|
void |
countHarvesters(java.util.Vector v)
The method gets the data for the harvester chart and prepares the data filling the chart. |
void |
countSpam(java.util.Vector v)
The method gets the data for the spam chart and prepares the data filling the chart. |
void |
countUserAgents(java.util.Vector v)
The method gets the data for the useragent chart and prepares the data filling the chart. |
void |
getIntelligence(java.util.Vector v)
The method gets the data for the intelligence chart and prepares the data filling the chart. |
void |
harvesterChart()
This method creates a piechart with all identified harvester countries. |
void |
intelChart()
This method creates a piechart with harvester intelligence. |
void |
paint(java.awt.Graphics g)
The paint method renders the visualization. |
void |
refreshCharts()
This refreshes the chart data. |
boolean |
showHarvesterCountries()
The method sets the desired chart mode (spammers, harvesters, intelligece, useragents). |
boolean |
showIntelligence()
The method sets the desired chart mode (spammers, harvesters, intelligece, useragents). |
boolean |
showSpamCountries()
The method sets the desired chart mode (spammers, harvesters, intelligece, useragents). |
boolean |
showUseragent()
The method sets the desired chart mode (spammers, harvesters, intelligece, useragents). |
void |
spamChart()
This method creates a piechart with all identified spam countries. |
void |
userChart()
This method creates a piechart with all identified user agents. |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, 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, getPreferredSize, 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, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, 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, update, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PieCharts()
Method Detail |
---|
public void refreshCharts()
public void spamChart()
public void harvesterChart()
public void intelChart()
public void userChart()
public void countSpam(java.util.Vector v)
public void countHarvesters(java.util.Vector v)
public void getIntelligence(java.util.Vector v)
public void countUserAgents(java.util.Vector v)
public void paint(java.awt.Graphics g)
paint
in class java.awt.Component
public boolean showSpamCountries()
public boolean showHarvesterCountries()
public boolean showIntelligence()
public boolean showUseragent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |