com.dlsc.flexgantt.swing.timeline
Class AbstractDatelineRenderer<T extends IDatelineModel>

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.dlsc.flexgantt.swing.timeline.AbstractDatelineRenderer<T>
Type Parameters:
T - the type of the dateline model
All Implemented Interfaces:
IDatelineRenderer<T>, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
Direct Known Subclasses:
SimpleGranularityDatelineRenderer, TimeGranularityDatelineRenderer

public abstract class AbstractDatelineRenderer<T extends IDatelineModel>
extends javax.swing.JPanel
implements IDatelineRenderer<T>

An abstract dateline renderer that provides common functionality for its subclasses. This common functionality primarily consists of several methods to lookup colors used for the foreground and background of major and minor time spans.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
Dateline.setDatelineRenderer(Class, IDatelineRenderer), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
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.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
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
protected AbstractDatelineRenderer()
          Constructs a new dateline renderer and initializes the forground and background colors for calendar entries that are of type or subclasses of WeekendCalendarEntry and HolidayCalendarEntry.
 
Method Summary
 void firePropertyChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
          Overriden for performance reasons.
 void firePropertyChange(java.lang.String propertyName, byte oldValue, byte newValue)
          Overriden for performance reasons.
 void firePropertyChange(java.lang.String propertyName, char oldValue, char newValue)
          Overriden for performance reasons.
 void firePropertyChange(java.lang.String propertyName, double oldValue, double newValue)
          Overriden for performance reasons.
 void firePropertyChange(java.lang.String propertyName, float oldValue, float newValue)
          Overriden for performance reasons.
 void firePropertyChange(java.lang.String propertyName, long oldValue, long newValue)
          Overriden for performance reasons.
protected  void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
          Overriden for performance reasons.
 void firePropertyChange(java.lang.String propertyName, short oldValue, short newValue)
          Overriden for performance reasons.
protected  java.awt.Color getCalendarBackground(ICalendarModel calendarModel, IDatelineModel datelineModel, long time)
          Returns a background color for the given time point, calendar model and dateline model.
 java.awt.Color getCalendarEntryBackground(java.lang.Class calendarEntryType)
          Returns the background color that will be used for drawing time spans that intersect with calendar entries of the given type.
 java.awt.Color getCalendarEntryForeground(java.lang.Class calendarEntryType)
          Returns the foreground color that will be used for drawing time spans that intersect with calendar entries of the given type.
protected  java.awt.Color getCalendarForeground(ICalendarModel calendarModel, IDatelineModel datelineModel, long time)
          Returns a foreground color for the given time point, calendar model and dateline model.
 Dateline getDateline()
          Returns the dateline for which rendering currently takes place.
 java.awt.Component getDatelineRendererComponent(Dateline dateline, T model, ITimeSpan timeSpan, boolean major, boolean focus)
          Returns the renderer component that will be used by the dateline to render a time span that can be located on the major or the minor part of the dateline.
 java.awt.Color getFocusBackground()
          Returns the background color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).
 java.awt.Color getFocusForeground()
          Returns the foreground color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).
 javax.swing.Icon getIcon()
          Returns the icon used by the renderer.
protected  java.awt.Color getMajorBackground(Dateline dateline, long date)
          Returns the background color for the given time point that is placed on the upper (the major) part of the dateline.
protected  java.awt.Color getMajorForeground(Dateline dateline, long date)
          Returns the foreground color for the given time point that is placed on the upper (the major) part of the dateline.
protected  java.awt.Color getMinorBackground(Dateline dateline, long date)
          Returns the background color for the given time point that is placed on the lower (the minor) part of the dateline.
protected  java.awt.Color getMinorForeground(Dateline dateline, long date)
          Returns the foreground color for the given time point that is placed on the lower (the minor) part of the dateline.
 T getModel()
          Returns the dateline model that returned the time span that is currently being rendered.
 java.lang.String getText()
          Returns the text that will be shown by the renderer in the currently drawn time span cell.
 ITimeSpan getTimeSpan()
          Returns the time span that is currently being rendered.
 boolean hasFocus()
          Determines whether the currently rendered time span (cell) is the focus owner.
 void invalidate()
          Overriden for performance reasons.
 boolean isMajor()
          Returns TRUE if the currently rendered time span (cell) is located in the upper (major) section of the dateline.
protected  void paintComponent(java.awt.Graphics g)
           
 void repaint()
          Overriden for performance reasons.
 void repaint(int x, int y, int width, int height)
          Overriden for performance reasons.
 void repaint(long tm)
          Overriden for performance reasons.
 void revalidate()
          Overriden for performance reasons.
 void setCalendarEntryBackground(java.lang.Class calendarEntryType, java.awt.Color color)
          Sets the background color that will be used for drawing time spans that intersect with calendar entries of the given type.
 void setCalendarEntryForeground(java.lang.Class calendarEntryType, java.awt.Color color)
          Sets the foreground color that will be used for drawing time spans that intersect with calendar entries of the given type.
 void setFocusBackground(java.awt.Color color)
          Sets the background color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).
 void setFocusForeground(java.awt.Color color)
          Sets the foreground color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).
 void setIcon(javax.swing.Icon icon)
          Sets the icon used by the renderer.
 void setText(java.lang.String text)
          Sets the text that will be shown by the renderer in the currently drawn time span cell.
 void validate()
          Overriden for performance reasons.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, 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
 
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, 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, 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, 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, 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, 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
 

Constructor Detail

AbstractDatelineRenderer

protected AbstractDatelineRenderer()
Constructs a new dateline renderer and initializes the forground and background colors for calendar entries that are of type or subclasses of WeekendCalendarEntry and HolidayCalendarEntry.

Since:
1.0
See Also:
setCalendarEntryForeground(Class, Color), setCalendarEntryBackground(Class, Color)
Method Detail

getDatelineRendererComponent

public java.awt.Component getDatelineRendererComponent(Dateline dateline,
                                                       T model,
                                                       ITimeSpan timeSpan,
                                                       boolean major,
                                                       boolean focus)
Returns the renderer component that will be used by the dateline to render a time span that can be located on the major or the minor part of the dateline. The renderer supports a focus attribute that tells the renderer whether the mouse cursor is currently on top of the time span. This visual feedback is important so that the user knows into which time span the dateline will zoom into when the left mouse button gets clicked. The abstract renderer stores all method parameters in protected fields that can be used by concrete subclasses. In order for this to work the subclasses must always make sure to call this super method.

Specified by:
getDatelineRendererComponent in interface IDatelineRenderer<T extends IDatelineModel>
Parameters:
dateline - the dateline component
model - the dateline model that returned / specified the given time span
timeSpan - the time span to render
major - a flag that signals whether the time span is located on the upper or the lower part of the dateline
focus - a flag indicating whether the time span has the focus
Returns:
a component used for the actual rendering of the time span
Since:
1.0

getMajorForeground

protected java.awt.Color getMajorForeground(Dateline dateline,
                                            long date)
Returns the foreground color for the given time point that is placed on the upper (the major) part of the dateline. The color will either be the foreground color of the timeline or the focus foreground color defined by the renderer itself.

Parameters:
dateline - the component in which the time span will be renderered
date - the start time of the time span
Returns:
a foreground color for a major time span
Since:
1.0
See Also:
getMinorForeground(Dateline, long), getMajorBackground(Dateline, long)

getMajorBackground

protected java.awt.Color getMajorBackground(Dateline dateline,
                                            long date)
Returns the background color for the given time point that is placed on the upper (the major) part of the dateline. The color will either be the background color of the timeline or the focus background color defined by the renderer itself.

Parameters:
dateline - the component in which the time span will be renderered
date - the start time of the time span
Returns:
a foreground color for a major time span
Since:
1.0
See Also:
getMinorBackground(Dateline, long), getMajorForeground(Dateline, long)

getMinorForeground

protected java.awt.Color getMinorForeground(Dateline dateline,
                                            long date)
Returns the foreground color for the given time point that is placed on the lower (the minor) part of the dateline. The color will either be:

Parameters:
dateline - the component in which the time span will be renderered
date - the start time of the time span
Returns:
a foreground color for a minor time span
Since:
1.0
See Also:
getFocusForeground(), getCalendarForeground(ICalendarModel, IDatelineModel, long), getMinorBackground(Dateline, long), getMajorForeground(Dateline, long), getCalendarEntryForeground(Class)

getMinorBackground

protected java.awt.Color getMinorBackground(Dateline dateline,
                                            long date)
Returns the background color for the given time point that is placed on the lower (the minor) part of the dateline. The color will either be:

Parameters:
dateline - the component in which the time span will be renderered
date - the start time of the time span
Returns:
a background color for a minor time span
Since:
1.0
See Also:
getFocusForeground(), getCalendarForeground(ICalendarModel, IDatelineModel, long), getMinorBackground(Dateline, long), getMajorForeground(Dateline, long), getCalendarEntryForeground(Class)

getCalendarForeground

protected java.awt.Color getCalendarForeground(ICalendarModel calendarModel,
                                               IDatelineModel datelineModel,
                                               long time)
Returns a foreground color for the given time point, calendar model and dateline model. The method checks the calendar model if any calendar entries are located at the given time point. The dateline model gets passed to the calendar model for this check. The method returns NULL if no calendar entries can be found or if no color is mapped to the calendar entries that were found. Several calendar entries might exist at the given time point. In this case the color of the first calendar entry for which a foreground color mapping exists will be returned.

Parameters:
calendarModel - the Gantt chart's calendar model
datelineModel - the model used by the dateline
time - the time point for which to return a foreground color
Returns:
a foreground color for the given time that takes the Gantt chart's calendar model into consideration
Since:
1.0
See Also:
getCalendarEntryForeground(Class)

getCalendarBackground

protected java.awt.Color getCalendarBackground(ICalendarModel calendarModel,
                                               IDatelineModel datelineModel,
                                               long time)
Returns a background color for the given time point, calendar model and dateline model. The method checks the calendar model if any calendar entries are located at the given time point. The dateline model gets passed to the calendar model for this check. The method returns NULL if no calendar entries can be found or if no color is mapped to the calendar entries that were found. Several calendar entries might exist at the given time point. In this case the color of the first calendar entry for which a background color mapping exists will be returned.

Parameters:
calendarModel - the Gantt chart's calendar model
datelineModel - the model used by the dateline
time - the time point for which to return a background color
Returns:
a background color for the given time that takes the Gantt chart's calendar model into consideration
Since:
1.0
See Also:
getCalendarEntryBackground(Class)

setCalendarEntryForeground

public void setCalendarEntryForeground(java.lang.Class calendarEntryType,
                                       java.awt.Color color)
Sets the foreground color that will be used for drawing time spans that intersect with calendar entries of the given type.

Parameters:
calendarEntryType - the object type of the calendar entries
color - the color used for drawing the time span foreground
Since:
1.0
See Also:
getCalendarEntryForeground(Class), setCalendarEntryBackground(Class, Color)

getCalendarEntryForeground

public java.awt.Color getCalendarEntryForeground(java.lang.Class calendarEntryType)
Returns the foreground color that will be used for drawing time spans that intersect with calendar entries of the given type.

Parameters:
calendarEntryType - the calendar entry type
Returns:
a foreground color that will be used for drawing the time span
Since:
1.0
See Also:
setCalendarEntryForeground(Class, Color), getCalendarEntryBackground(Class)

setCalendarEntryBackground

public void setCalendarEntryBackground(java.lang.Class calendarEntryType,
                                       java.awt.Color color)
Sets the background color that will be used for drawing time spans that intersect with calendar entries of the given type.

Parameters:
calendarEntryType - the object type of the calendar entries
color - the color used for drawing the time span background
Since:
1.0
See Also:
getCalendarEntryBackground(Class), setCalendarEntryForeground(Class, Color)

getCalendarEntryBackground

public java.awt.Color getCalendarEntryBackground(java.lang.Class calendarEntryType)
Returns the background color that will be used for drawing time spans that intersect with calendar entries of the given type.

Parameters:
calendarEntryType - the calendar entry type
Returns:
a background color object that will be used for drawing the time span
Since:
1.0
See Also:
setCalendarEntryBackground(Class, Color), getCalendarEntryForeground(Class)

setFocusBackground

public void setFocusBackground(java.awt.Color color)
Sets the background color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).

Parameters:
color - the focus background color
Since:
1.0
See Also:
getFocusBackground()

getFocusBackground

public java.awt.Color getFocusBackground()
Returns the background color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).

Returns:
the focus background color
Since:
1.0

setFocusForeground

public void setFocusForeground(java.awt.Color color)
Sets the foreground color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).

Parameters:
color - the focus foreground color
Since:
1.0
See Also:
getFocusForeground()

getFocusForeground

public java.awt.Color getFocusForeground()
Returns the foreground color that will be used for drawing a time span when the time span has the focus (the mouse cursor hovers on top of the time span).

Returns:
the focus foreground color
Since:
1.0

getDateline

public Dateline getDateline()
Returns the dateline for which rendering currently takes place.

Returns:
the dateline UI component
Since:
1.0

hasFocus

public boolean hasFocus()
Determines whether the currently rendered time span (cell) is the focus owner. This method does not follow the 'isFocused' naming pattern in order to avoid confusion with the superclass method 'hasFocus'.

Overrides:
hasFocus in class java.awt.Component
Since:
1.0

isMajor

public boolean isMajor()
Returns TRUE if the currently rendered time span (cell) is located in the upper (major) section of the dateline.

Returns:
TRUE if the renderer is used for rendering a major time span
Since:
1.0

getModel

public T getModel()
Returns the dateline model that returned the time span that is currently being rendered.

Returns:
the dateline model
Since:
1.0

getTimeSpan

public ITimeSpan getTimeSpan()
Returns the time span that is currently being rendered.

Returns:
the rendered time span
Since:
1.0

getIcon

public javax.swing.Icon getIcon()
Returns the icon used by the renderer.

Returns:
the icon shown in the time span cell
Since:
1.0

setIcon

public void setIcon(javax.swing.Icon icon)
Sets the icon used by the renderer.

Parameters:
icon - the icon shown in the time span cell
Since:
1.0

getText

public java.lang.String getText()
Returns the text that will be shown by the renderer in the currently drawn time span cell.

Returns:
the renderer's text
Since:
1.0

setText

public void setText(java.lang.String text)
Sets the text that will be shown by the renderer in the currently drawn time span cell.

Parameters:
text - the renderer's text
Since:
1.0

paintComponent

protected void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class javax.swing.JComponent

validate

public void validate()
Overriden for performance reasons.

Overrides:
validate in class java.awt.Container
Since:
1.0

invalidate

public void invalidate()
Overriden for performance reasons.

Overrides:
invalidate in class java.awt.Container
Since:
1.0

revalidate

public void revalidate()
Overriden for performance reasons.

Overrides:
revalidate in class javax.swing.JComponent
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               boolean oldValue,
                               boolean newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class javax.swing.JComponent
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               byte oldValue,
                               byte newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class java.awt.Component
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               char oldValue,
                               char newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class javax.swing.JComponent
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               double oldValue,
                               double newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class java.awt.Component
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               float oldValue,
                               float newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class java.awt.Component
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               long oldValue,
                               long newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class java.awt.Component
Since:
1.0

firePropertyChange

protected void firePropertyChange(java.lang.String propertyName,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class java.awt.Component
Since:
1.0

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               short oldValue,
                               short newValue)
Overriden for performance reasons.

Overrides:
firePropertyChange in class java.awt.Component
Since:
1.0

repaint

public void repaint()
Overriden for performance reasons.

Overrides:
repaint in class java.awt.Component
Since:
1.0

repaint

public void repaint(int x,
                    int y,
                    int width,
                    int height)
Overriden for performance reasons.

Overrides:
repaint in class java.awt.Component
Since:
1.0

repaint

public void repaint(long tm)
Overriden for performance reasons.

Overrides:
repaint in class java.awt.Component
Since:
1.0