|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent insensa.view.image.ImageVariableBreaks
public class ImageVariableBreaks
Nested Class Summary | |
---|---|
class |
ImageVariableBreaks.DropInfoListener
|
(package private) class |
ImageVariableBreaks.myMouseListener
|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) java.util.List<ClassificationRange> |
breakList
|
private org.jfree.chart.ChartPanel |
chartPanel
|
private CCountValues |
counts
|
(package private) double[][] |
data
|
(package private) CDialogSetVariableBreaksProperties |
dialog
|
private java.awt.image.BufferedImage |
image
|
(package private) java.util.List<org.jfree.chart.annotations.XYLineAnnotation> |
lineList
|
private int |
maxCnt
|
(package private) double |
maxCount
|
private float |
maxHeight
|
private int |
maxWidth
|
(package private) double |
minCount
|
private java.awt.Dimension |
pDim
|
private org.jfree.chart.plot.XYPlot |
plot
|
private static long |
serialVersionUID
|
private int |
startX
|
private float |
startY
|
private float |
stepHeight
|
private int |
widthPerBar
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
---|---|
ImageVariableBreaks(CCountValues lcounts,
java.lang.String applicationTitle,
java.lang.String chartTitle,
CDialogSetVariableBreaksProperties dialog)
|
Method Summary | |
---|---|
void |
addBreakLine(double xVal)
|
void |
checkPosition()
|
void |
createHistogramm(java.awt.Dimension dim)
|
java.awt.image.BufferedImage |
createNewImage(java.awt.Dimension dim)
|
private org.jfree.chart.JFreeChart |
createXYChart(org.jfree.data.xy.XYDataset dataset,
java.lang.String title)
Creates a chart. |
private org.jfree.data.xy.XYDataset |
createXYDataset()
|
void |
deleteBreakLine(int index)
|
javax.swing.JComponent |
getComponent()
|
java.awt.image.BufferedImage |
getImage()
|
javax.swing.JComponent |
getPanel()
|
void |
markBreakLine(int index,
double xVal)
|
void |
moveBreakLine(int index,
double xVal)
|
protected void |
paintComponent(java.awt.Graphics g)
|
void |
refresh(java.awt.Dimension dim)
|
void |
resizeImage(java.awt.Dimension d)
|
void |
setImage(java.awt.image.BufferedImage image)
|
void |
unmarkBreakLine(int index,
double xVal)
|
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private int startX
private int maxWidth
private float maxHeight
private float startY
private int maxCnt
private int widthPerBar
private float stepHeight
private java.awt.Dimension pDim
private java.awt.image.BufferedImage image
private CCountValues counts
private org.jfree.chart.ChartPanel chartPanel
private org.jfree.chart.plot.XYPlot plot
double[][] data
double maxCount
double minCount
java.util.List<org.jfree.chart.annotations.XYLineAnnotation> lineList
java.util.List<ClassificationRange> breakList
CDialogSetVariableBreaksProperties dialog
Constructor Detail |
---|
public ImageVariableBreaks(CCountValues lcounts, java.lang.String applicationTitle, java.lang.String chartTitle, CDialogSetVariableBreaksProperties dialog) throws java.io.IOException
lcounts
- applicationTitle
- chartTitle
- dialog
-
java.io.IOException
Method Detail |
---|
public void addBreakLine(double xVal)
xVal
- public void checkPosition() throws java.io.IOException
java.io.IOException
public void createHistogramm(java.awt.Dimension dim) throws java.io.IOException
dim
-
java.io.IOException
public java.awt.image.BufferedImage createNewImage(java.awt.Dimension dim) throws java.io.IOException
createNewImage
in interface ImageComponent
java.io.IOException
ImageComponent.createNewImage(java.awt.Dimension)
private org.jfree.chart.JFreeChart createXYChart(org.jfree.data.xy.XYDataset dataset, java.lang.String title)
dataset
- title
-
private org.jfree.data.xy.XYDataset createXYDataset() throws java.io.IOException
java.io.IOException
public void deleteBreakLine(int index)
index
- public javax.swing.JComponent getComponent()
getComponent
in interface ImageComponent
ImageComponent.getComponent()
public java.awt.image.BufferedImage getImage()
getImage
in interface ImageComponent
ImageComponent.getImage()
public javax.swing.JComponent getPanel()
public void markBreakLine(int index, double xVal)
index
- xVal
- public void moveBreakLine(int index, double xVal)
index
- xVal
- protected void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.JComponent
JComponent.paintComponent(java.awt.Graphics)
public void refresh(java.awt.Dimension dim) throws java.io.IOException
refresh
in interface ImageComponent
java.io.IOException
ImageComponent.refresh(java.awt.Dimension)
public void resizeImage(java.awt.Dimension d) throws java.io.IOException
resizeImage
in interface ImageComponent
java.io.IOException
ImageComponent.resizeImage(java.awt.Dimension)
public void setImage(java.awt.image.BufferedImage image)
image
- public void unmarkBreakLine(int index, double xVal)
index
- xVal
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |