Generated by
JDiff

Class javax.swing.JViewport

Documentation changed from old to new.

Added Methods
ChangeListener[] getChangeListeners() Returns an array of all the ChangeListeners added to this JViewport with addChangeListener().
 

Changed Methods
void addImpl(Component, Object, int) Documentation changed from old to new.
Sets the JViewport's one lightweight child which can be null.
ViewportUI getUI() Documentation changed from old to new.
Returns the L&F object that renders this component.
Component getView() Documentation changed from old to new.
Returns the JViewport's one child or null.
boolean isBackingStoreEnabled() Documentation changed from old to new.
As of Java 2 platform v1.3, replaced by getScrollMode().
boolean isOptimizedDrawingEnabled() Documentation changed from old to new.
The JViewport overrides the default implementation of this method (in JComponent) to return false.
void reshape(int, int, int, int) Documentation changed from old to new.
Sets the bounds of this viewport.
void scrollRectToVisible(Rectangle) Documentation changed from old to new.
Scrolls the view so that Rectangle within the view becomes visible.
void setBackingStoreEnabled(boolean) Documentation changed from old to new.
As of Java 2 platform v1.3, replaced by setScrollMode().
void setBorder(Border) Documentation changed from old to new.
The viewport "scrolls" its child (called the "view") by the normal parent/child clipping (typically the view is moved in the opposite direction of the scroll).
void setView(Component) Documentation changed from old to new.
Sets the JViewport's one lightweight child (view) which can be null.
void setViewSize(Dimension) Documentation changed from old to new.
Sets the size of the view.
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.
void setUI(ViewportUI) Documentation changed from old to new.
Sets the L&F object that renders this component.
 

Changed Fields
int BLIT_SCROLL_MODE Documentation changed from old to new.
Use graphics.copyArea to implement scrolling.
boolean backingStore Documentation changed from old to new.
As of Java 2 platform v1.3
boolean scrollUnderway Documentation changed from old to new.
The scrollUnderway flag is used for components like JList.