|
|||||||||
| Home >> All >> org >> gjt >> sp >> jedit >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gjt.sp.jedit.gui
Class StatusBar.MemoryStatus

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.gjt.sp.jedit.gui.StatusBar.MemoryStatus
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- Enclosing class:
- StatusBar
- class StatusBar.MemoryStatus
- extends javax.swing.JComponent
- implements java.awt.event.ActionListener
- extends javax.swing.JComponent
| Nested Class Summary | |
(package private) class |
StatusBar.MemoryStatus.MouseHandler
|
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private java.awt.font.LineMetrics |
lm
|
private static java.lang.String |
memoryTestStr
|
private java.awt.Color |
progressBackground
|
private java.awt.Color |
progressForeground
|
private javax.swing.Timer |
timer
|
| 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.Container |
|
| 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 | |
StatusBar.MemoryStatus()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
This method is invoked when an action occurs. |
void |
addNotify()
Receives notification if this component is added to a parent component. |
java.awt.Point |
getToolTipLocation(java.awt.event.MouseEvent event)
Return the location at which the JComponent.toolTipText> JComponent.toolTipText 55 property should be
displayed, when triggered by a particular mouse event. |
java.lang.String |
getToolTipText()
Get the value of the JComponent.toolTipText> JComponent.toolTipText 55 property. |
void |
paintComponent(java.awt.Graphics g)
Paint the component's body. |
void |
removeNotify()
Receives notification that this component no longer has a parent. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
memoryTestStr
private static final java.lang.String memoryTestStr
- See Also:
- Constant Field Values
lm
private java.awt.font.LineMetrics lm
progressForeground
private java.awt.Color progressForeground
progressBackground
private java.awt.Color progressBackground
timer
private javax.swing.Timer timer
| Constructor Detail |
StatusBar.MemoryStatus
public StatusBar.MemoryStatus()
| Method Detail |
addNotify
public void addNotify()
- Description copied from class:
javax.swing.JComponent - Receives notification if this component is added to a parent component.
Notification is sent to all registered AncestorListeners about the
new parent.
This method sets up ActionListeners for all registered KeyStrokes of
this component in the chain of parent components.
A PropertyChange event is fired to indicate that the ancestor property
has changed.
This method is used internally and should not be used in applications.
removeNotify
public void removeNotify()
- Description copied from class:
javax.swing.JComponent - Receives notification that this component no longer has a parent.
This method sends an AncestorEvent to all registered AncestorListeners,
notifying them that the parent is gone.
The keybord actions of this component are removed from the parent and
its ancestors.
A PropertyChangeEvent is fired to indicate that the 'ancestor' property
has changed.
This method is called before the component is actually removed from
its parent, so the parent is still visible through
Component.getParent()>
Component.getParent()55 .
getToolTipText
public java.lang.String getToolTipText()
- Description copied from class:
javax.swing.JComponent - Get the value of the JComponent.toolTipText>
JComponent.toolTipText55 property.
getToolTipLocation
public java.awt.Point getToolTipLocation(java.awt.event.MouseEvent event)
- Description copied from class:
javax.swing.JComponent - Return the location at which the JComponent.toolTipText>
JComponent.toolTipText55 property should be displayed, when triggered by a particular mouse event.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Description copied from interface:
java.awt.event.ActionListener - This method is invoked when an action occurs.
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
paintComponent
public void paintComponent(java.awt.Graphics g)
- Description copied from class:
javax.swing.JComponent - Paint the component's body. This usually means calling ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)>
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)55 on the JComponent.ui>JComponent.ui55 property of the component, if it is non-null. You may override this if you wish to customize the component's body-painting behavior. The component's body is painted first, before the border and children.
|
|||||||||
| Home >> All >> org >> gjt >> sp >> jedit >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC