public class MemoryStatusWidget extends JComponent implements ActionListener, jaxx.runtime.JAXXObject
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
$activeBindings |
protected Map<String,jaxx.runtime.JAXXBinding> |
$bindings |
protected Map<String,Object> |
$bindingSources |
protected Map<String,Object> |
$objectMap |
protected Map<?,?> |
$previousValues |
protected jaxx.runtime.JAXXContext |
delegateContext |
protected MemoryStatusWidgetHandler |
handler |
protected Color |
progressBackground |
protected Color |
progressForeground |
static String |
PROPERTY_PROGRESS_BACKGROUND |
static String |
PROPERTY_PROGRESS_FOREGROUND |
static String |
PROPERTY_TIMER |
protected Timer |
timer |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
MemoryStatusWidget() |
MemoryStatusWidget(jaxx.runtime.JAXXContext parentContext) |
addAncestorListener, 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, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, 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
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, transferFocusDownCycle, validate, validateTree
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, getAccessibleContext, 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, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final String PROPERTY_PROGRESS_BACKGROUND
public static final String PROPERTY_PROGRESS_FOREGROUND
public static final String PROPERTY_TIMER
protected Map<?,?> $previousValues
protected final jaxx.runtime.JAXXContext delegateContext
protected MemoryStatusWidgetHandler handler
protected Color progressBackground
protected Color progressForeground
protected Timer timer
public MemoryStatusWidget()
public MemoryStatusWidget(jaxx.runtime.JAXXContext parentContext)
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
public void addNotify()
addNotify
in class JComponent
public void removeNotify()
removeNotify
in class JComponent
public void paintComponent(Graphics g)
paintComponent
in class JComponent
public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
public void applyDataBinding(String $binding)
applyDataBinding
in interface jaxx.runtime.JAXXObject
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
firePropertyChange
in interface jaxx.runtime.JAXXObject
firePropertyChange
in class Component
public Map<String,Object> get$objectMap()
get$objectMap
in interface jaxx.runtime.JAXXObject
public jaxx.runtime.JAXXBinding getDataBinding(String bindingId)
getDataBinding
in interface jaxx.runtime.JAXXObject
public jaxx.runtime.JAXXBinding[] getDataBindings()
getDataBindings
in interface jaxx.runtime.JAXXObject
public Object getObjectById(String id)
getObjectById
in interface jaxx.runtime.JAXXObject
public void processDataBinding(String $binding, boolean $force)
processDataBinding
in interface jaxx.runtime.JAXXObject
public void processDataBinding(String $binding)
processDataBinding
in interface jaxx.runtime.JAXXObject
public void registerDataBinding(jaxx.runtime.JAXXBinding binding)
registerDataBinding
in interface jaxx.runtime.JAXXObject
public void removeDataBinding(String $binding)
removeDataBinding
in interface jaxx.runtime.JAXXObject
public <T> T getContextValue(Class<T> clazz)
getContextValue
in interface jaxx.runtime.JAXXContext
public <T> T getContextValue(Class<T> clazz, String name)
getContextValue
in interface jaxx.runtime.JAXXContext
public jaxx.runtime.JAXXContext getDelegateContext()
getDelegateContext
in interface jaxx.runtime.JAXXObject
public <O extends Container> O getParentContainer(Class<O> clazz)
getParentContainer
in interface jaxx.runtime.JAXXObject
public <O extends Container> O getParentContainer(Object source, Class<O> clazz)
getParentContainer
in interface jaxx.runtime.JAXXObject
public <T> void removeContextValue(Class<T> clazz)
removeContextValue
in interface jaxx.runtime.JAXXContext
public <T> void removeContextValue(Class<T> clazz, String name)
removeContextValue
in interface jaxx.runtime.JAXXContext
public <T> void setContextValue(T o)
setContextValue
in interface jaxx.runtime.JAXXContext
public <T> void setContextValue(T o, String name)
setContextValue
in interface jaxx.runtime.JAXXContext
public MemoryStatusWidgetHandler getHandler()
public Color getProgressBackground()
public Color getProgressForeground()
public Timer getTimer()
public void setProgressBackground(Color progressBackground)
public void setProgressForeground(Color progressForeground)
public void setTimer(Timer timer)
protected void createHandler()
protected void createProgressBackground()
protected void createProgressForeground()
protected void createTimer()
Copyright © 1999–2020 CodeLutin. All rights reserved.