public class ModelChartImpl extends JScrollPane implements ModelChart, ChangeListener, PropertyChangeListener
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBarJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategycolumnHeader, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewportlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTCOLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
ModelChartImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimeOffsetChangeListener(PropertyChangeListener listener) |
void |
autoSetScaleFactor() |
long |
getFootprint() |
double |
getMaxPause() |
GCModel |
getModel() |
double |
getScaleFactor() |
void |
invalidate() |
boolean |
isAntiAlias() |
boolean |
isShowConcurrentCollectionBeginEnd() |
boolean |
isShowDateStamp() |
boolean |
isShowFullGCLines() |
boolean |
isShowGCTimesLine() |
boolean |
isShowGCTimesRectangles() |
boolean |
isShowIncGCLines() |
boolean |
isShowInitialMarkLevel() |
boolean |
isShowTenured() |
boolean |
isShowTotalMemoryLine() |
boolean |
isShowUsedMemoryLine() |
boolean |
isShowUsedTenuredMemoryLine() |
boolean |
isShowUsedYoungMemoryLine() |
boolean |
isShowYoung() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
removeTimeOffsetChangeListener(PropertyChangeListener listener) |
void |
resetPolygonCache()
Resets the internal cache of the chart.
|
void |
setAntiAlias(boolean antiAlias) |
void |
setFootprint(long footprint) |
void |
setMaxPause(double maxPause) |
void |
setModel(GCModel model,
GCPreferences preferences) |
void |
setRunningTime(double runningTime) |
void |
setScaleFactor(double scaleFactor) |
void |
setShowConcurrentCollectionBeginEnd(boolean showConcurrentCollectionBeginEnd) |
void |
setShowDateStamp(boolean showDateStamp) |
void |
setShowFullGCLines(boolean showFullGCLines) |
void |
setShowGCTimesLine(boolean showGCTimesLine) |
void |
setShowGCTimesRectangles(boolean showGCTimesRectangles) |
void |
setShowIncGCLines(boolean showIncGCLines) |
void |
setShowInitialMarkLevel(boolean showInitialMarkLevel) |
void |
setShowTenured(boolean showTenured) |
void |
setShowTotalMemoryLine(boolean showTotalMemoryLine) |
void |
setShowUsedMemoryLine(boolean showUsedMemoryLine) |
void |
setShowUsedTenuredMemoryLine(boolean showUsedTenuredMemoryLine) |
void |
setShowUsedYoungMemoryLine(boolean showUsedYoungMemoryLine) |
void |
setShowYoung(boolean showYoung) |
void |
stateChanged(ChangeEvent e) |
createHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, 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, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, 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, updateadd, 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, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTreeaction, 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, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic void addTimeOffsetChangeListener(PropertyChangeListener listener)
public void removeTimeOffsetChangeListener(PropertyChangeListener listener)
public void invalidate()
invalidate in class Containerpublic void resetPolygonCache()
resetPolygonCache in interface ModelChartpublic double getScaleFactor()
getScaleFactor in interface ModelChartpublic void autoSetScaleFactor()
public void setScaleFactor(double scaleFactor)
setScaleFactor in interface ModelChartpublic boolean isAntiAlias()
isAntiAlias in interface ModelChartpublic void setAntiAlias(boolean antiAlias)
setAntiAlias in interface ModelChartpublic boolean isShowTenured()
isShowTenured in interface ModelChartpublic void setShowTenured(boolean showTenured)
setShowTenured in interface ModelChartpublic boolean isShowYoung()
isShowYoung in interface ModelChartpublic void setShowYoung(boolean showYoung)
setShowYoung in interface ModelChartpublic boolean isShowGCTimesLine()
isShowGCTimesLine in interface ModelChartpublic void setShowGCTimesLine(boolean showGCTimesLine)
setShowGCTimesLine in interface ModelChartpublic boolean isShowGCTimesRectangles()
isShowGCTimesRectangles in interface ModelChartpublic void setShowGCTimesRectangles(boolean showGCTimesRectangles)
setShowGCTimesRectangles in interface ModelChartpublic boolean isShowFullGCLines()
isShowFullGCLines in interface ModelChartpublic void setShowFullGCLines(boolean showFullGCLines)
setShowFullGCLines in interface ModelChartpublic boolean isShowIncGCLines()
isShowIncGCLines in interface ModelChartpublic void setShowIncGCLines(boolean showIncGCLines)
setShowIncGCLines in interface ModelChartpublic boolean isShowTotalMemoryLine()
isShowTotalMemoryLine in interface ModelChartpublic void setShowTotalMemoryLine(boolean showTotalMemoryLine)
setShowTotalMemoryLine in interface ModelChartpublic boolean isShowUsedMemoryLine()
isShowUsedMemoryLine in interface ModelChartpublic void setShowUsedMemoryLine(boolean showUsedMemoryLine)
setShowUsedMemoryLine in interface ModelChartpublic boolean isShowUsedYoungMemoryLine()
isShowUsedYoungMemoryLine in interface ModelChartpublic void setShowUsedYoungMemoryLine(boolean showUsedYoungMemoryLine)
setShowUsedYoungMemoryLine in interface ModelChartpublic boolean isShowUsedTenuredMemoryLine()
isShowUsedTenuredMemoryLine in interface ModelChartpublic void setShowUsedTenuredMemoryLine(boolean showUsedTenuredMemoryLine)
setShowUsedTenuredMemoryLine in interface ModelChartpublic void setShowInitialMarkLevel(boolean showInitialMarkLevel)
setShowInitialMarkLevel in interface ModelChartpublic boolean isShowInitialMarkLevel()
isShowInitialMarkLevel in interface ModelChartpublic void setShowConcurrentCollectionBeginEnd(boolean showConcurrentCollectionBeginEnd)
setShowConcurrentCollectionBeginEnd in interface ModelChartpublic void setShowDateStamp(boolean showDateStamp)
setShowDateStamp in interface ModelChartpublic boolean isShowDateStamp()
isShowDateStamp in interface ModelChartpublic boolean isShowConcurrentCollectionBeginEnd()
isShowConcurrentCollectionBeginEnd in interface ModelChartpublic void setModel(GCModel model, GCPreferences preferences)
public GCModel getModel()
public void setRunningTime(double runningTime)
setRunningTime in interface ModelChartpublic void setFootprint(long footprint)
setFootprint in interface ModelChartpublic void setMaxPause(double maxPause)
setMaxPause in interface ModelChartpublic long getFootprint()
getFootprint in interface ModelChartpublic double getMaxPause()
getMaxPause in interface ModelChartpublic void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenerpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2019. All rights reserved.