KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > JViewport

javax.swing
Class JViewport

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JViewport
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
See Also:
Top Examples, Source Code, XMLEncoder, JScrollPane

public void addChangeListener(ChangeListener l)
See Also:
setExtentSize(java.awt.Dimension), setViewSize(java.awt.Dimension), setViewPosition(java.awt.Point), removeChangeListener(javax.swing.event.ChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void addImpl(Component child,
                       Object constraints,
                       int index)
See Also:
setView(java.awt.Component), Container
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected boolean backingStore
See Also:
setScrollMode(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient Image backingStoreImage
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BACKINGSTORE_SCROLL_MODE
See Also:
setScrollMode(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BLIT_SCROLL_MODE
See Also:
setScrollMode(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean computeBlit(int dx,
                              int dy,
                              Point blitFrom,
                              Point blitTo,
                              Dimension blitSize,
                              Rectangle blitPaint)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected LayoutManager createLayoutManager()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected JViewport.ViewListener createViewListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void firePropertyChange(String propertyName,
                                  Object oldValue,
                                  Object newValue)
See Also:
Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireStateChanged()
See Also:
EventListenerList, removeChangeListener(javax.swing.event.ChangeListener), addChangeListener(javax.swing.event.ChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
JComponent, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ChangeListener[] getChangeListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getExtentSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Insets getInsets()
See Also:
setBorder(javax.swing.border.Border), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Insets getInsets(Insets insets)
See Also:
getInsets(), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getScrollMode()
See Also:
setScrollMode(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ViewportUI getUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUIClassID()
See Also:
UIDefaults.getUI(javax.swing.JComponent), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Component getView()
See Also:
setView(java.awt.Component)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point getViewPosition()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Rectangle getViewRect()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getViewSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public boolean isBackingStoreEnabled()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isOptimizedDrawingEnabled()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isViewSizeSet
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JViewport()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Point lastPaintPosition
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g)
See Also:
JComponent.repaint(long, int, int, int, int), JComponent.getComponentGraphics(java.awt.Graphics), JComponent.paintChildren(java.awt.Graphics), JComponent.paintBorder(java.awt.Graphics), JComponent.paintComponent(java.awt.Graphics)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void remove(Component child)
See Also:
setView(java.awt.Component), Container
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeChangeListener(ChangeListener l)
See Also:
addChangeListener(javax.swing.event.ChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void repaint(long tm,
                    int x,
                    int y,
                    int w,
                    int h)
See Also:
Component.update(java.awt.Graphics), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void reshape(int x,
                    int y,
                    int w,
                    int h)
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void scrollRectToVisible(Rectangle contentRect)
See Also:
Component.getPeer(), Component.isValid(), JComponent.isValidateRoot()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean scrollUnderway
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void setBackingStoreEnabled(boolean enabled)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void setBorder(Border border)
See Also:
CompoundBorder, IllegalArgumentException, JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setExtentSize(Dimension newExtent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setScrollMode(int mode)
See Also:
SIMPLE_SCROLL_MODE, BACKINGSTORE_SCROLL_MODE, BLIT_SCROLL_MODE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setUI(ViewportUI ui)
See Also:
UIDefaults.getUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setView(Component view)
See Also:
getView()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setViewPosition(Point p)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setViewSize(Dimension newSize)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int SIMPLE_SCROLL_MODE
See Also:
setScrollMode(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension toViewCoordinates(Dimension size)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point toViewCoordinates(Point p)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void updateUI()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags