com.levigo.jadice.swing.pageview
Class BasicPageViewUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.levigo.jadice.swing.pageview.PageViewUI
          extended by com.levigo.jadice.swing.pageview.BasicPageViewUI

public class BasicPageViewUI
extends PageViewUI


Constructor Summary
BasicPageViewUI()
           
 
Method Summary
static ComponentUI createUI(JComponent list)
          Returns a new instance of BasicPageViewUI.
 Dimension getPreferredSize(JComponent c)
           
 void installUI(JComponent c)
           
 void paintBackground(Graphics2D g, JComponent c)
           
 void paintPageDecoration(Graphics2D g, JComponent c, Rectangle pageBounds, boolean isCurrentPage)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPageViewUI

public BasicPageViewUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent list)
Returns a new instance of BasicPageViewUI. BasicPageViewUI delegates are allocated one per ThumbnailView.

Returns:
A new ListUI implementation for the Windows look and feel.

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI

paintBackground

public void paintBackground(Graphics2D g,
                            JComponent c)
Specified by:
paintBackground in class PageViewUI

paintPageDecoration

public void paintPageDecoration(Graphics2D g,
                                JComponent c,
                                Rectangle pageBounds,
                                boolean isCurrentPage)
Specified by:
paintPageDecoration in class PageViewUI


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.