StarOffice 5.2 API
reverse engineered by classdoc

stardiv.controller
Class MemoryMonitor

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--stardiv.controller.MemoryMonitor
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.lang.Runnable, java.io.Serializable

synchronized class MemoryMonitor
extends java.awt.Canvas
implements java.lang.Runnable

See Also:
Serialized Form

Field Summary
(package private)  java.awt.Color bg
           
(package private)  int border
           
(package private)  char[] buf
           
(package private)  java.awt.Color fg
           
(package private)  java.awt.FontMetrics fm
           
(package private)  int gap
           
(package private)  int grafH
           
(package private)  int grafW
           
(package private)  char[] label
           
(package private)  int labelcount
           
(package private)  java.awt.Font labelfont
           
(package private)  java.lang.Thread monitor
           
(package private)  java.awt.Image offscreen
           
(package private) static java.lang.Runtime runtime
           
(package private)  int shadowDepth
           
(package private)  java.awt.Dimension size
           
(package private) static int sleepTime
           
(package private)  char[] suffixes
           
(package private) static java.awt.Color totalColor
           
(package private) static java.awt.Color totalShadowColor
           
(package private) static java.awt.Color usedColor
           
(package private) static java.awt.Color usedShadowColor
           
(package private)  int[] widths
           
 
Fields inherited from class java.awt.Canvas
base, nameCounter, serialVersionUID
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, LOCK, RIGHT_ALIGNMENT, TOP_ALIGNMENT, actionListenerK, adjustmentListenerK, background, componentListener, componentListenerK, componentSerializedDataVersion, containerListenerK, cursor, enabled, eventMask, focusListener, focusListenerK, font, foreground, height, incRate, isInc, itemListenerK, keyListener, keyListenerK, locale, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, parent, peer, popups, prefSize, textListenerK, valid, visible, width, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
MemoryMonitor()
           
 
Method Summary
(package private)  void buildLabel(long l1, long l2)
           
 java.awt.Dimension getPreferredSize()
           
(package private)  void memstring(long l)
           
 void paint(java.awt.Graphics g)
           
 void removeNotify()
           
 void resume()
           
 void run()
           
 void setFont(java.awt.Font f)
           
 void suspend()
           
 void update(java.awt.Graphics g)
           
(package private)  void updateMemoryMonitor()
           
 
Methods inherited from class java.awt.Canvas
addNotify, constructComponentName, postsOldMouseEvents
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, areInputMethodsEnabled, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, dispatchEventImpl, doLayout, enable, enable, enableEvents, eventEnabled, getAlignmentX, getAlignmentY, getBackground, getBounds, getColorModel, getComponentAt, getComponentAt, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getInputContext, getLocale, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getNativeContainer, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, invalidate, isEnabled, isFocusTraversable, isShowing, isValid, isVisible, keyDown, keyUp, layout, lightweightPrint, 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, processKeyEvent, processMouseEvent, processMouseMotionEvent, readObject, remove, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setCursor, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, validate, writeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bg

java.awt.Color bg

border

int border

buf

char[] buf

fg

java.awt.Color fg

fm

java.awt.FontMetrics fm

gap

int gap

grafH

int grafH

grafW

int grafW

label

char[] label

labelcount

int labelcount

labelfont

java.awt.Font labelfont

monitor

java.lang.Thread monitor

offscreen

java.awt.Image offscreen

runtime

static java.lang.Runtime runtime

shadowDepth

int shadowDepth

size

java.awt.Dimension size

sleepTime

static final int sleepTime

suffixes

char[] suffixes

totalColor

static final java.awt.Color totalColor

totalShadowColor

static final java.awt.Color totalShadowColor

usedColor

static final java.awt.Color usedColor

usedShadowColor

static final java.awt.Color usedShadowColor

widths

int[] widths
Constructor Detail

MemoryMonitor

public MemoryMonitor()
Method Detail

buildLabel

void buildLabel(long l1,
                long l2)

getPreferredSize

public java.awt.Dimension getPreferredSize()

memstring

void memstring(long l)

paint

public void paint(java.awt.Graphics g)

removeNotify

public void removeNotify()

resume

public void resume()

run

public void run()
Specified by:
run in interface java.lang.Runnable

setFont

public void setFont(java.awt.Font f)

suspend

public void suspend()

update

public void update(java.awt.Graphics g)

updateMemoryMonitor

void updateMemoryMonitor()

StarOffice 5.2 API
reverse engineered by classdoc