de.grogra.icon
Class IconOverlay

java.lang.Object
  extended by de.grogra.icon.IconSourceBase
      extended by de.grogra.icon.IconOverlay
All Implemented Interfaces:
IconSource

public class IconOverlay
extends IconSourceBase


Field Summary
protected  IconSource a
           
protected  IconSource b
           
 
Constructor Summary
IconOverlay(IconSource a, IconSource b)
           
 
Method Summary
protected  Icon getIconImpl(java.awt.Dimension size, int state)
           
 java.awt.Dimension getPreferredIconSize(boolean small)
           
 
Methods inherited from class de.grogra.icon.IconSourceBase
getIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected IconSource a

b

protected IconSource b
Constructor Detail

IconOverlay

public IconOverlay(IconSource a,
                   IconSource b)
Method Detail

getIconImpl

protected Icon getIconImpl(java.awt.Dimension size,
                           int state)
Specified by:
getIconImpl in class IconSourceBase

getPreferredIconSize

public java.awt.Dimension getPreferredIconSize(boolean small)
Specified by:
getPreferredIconSize in interface IconSource
Overrides:
getPreferredIconSize in class IconSourceBase