dsto.dfc.swing.icons
Class SimpleIconic
java.lang.Object
dsto.dfc.swing.icons.SimpleIconic
- All Implemented Interfaces:
- Iconic
public class SimpleIconic
- extends Object
- implements Iconic
Simple Iconic data class.
- Version:
- $Revision$
- Author:
- Matthew Phillips
SimpleIconic
public SimpleIconic(String name)
SimpleIconic
public SimpleIconic(String name,
Icon icon)
SimpleIconic
public SimpleIconic(String name,
Icon icon,
Icon largeIcon)
getName
public String getName()
- Description copied from interface:
Iconic
- The human-readable name for the object.
- Specified by:
getName
in interface Iconic
getIcon
public Icon getIcon()
- Description copied from interface:
Iconic
- The small (16x16) icon for the object. May be null if no small
icon is available.
- Specified by:
getIcon
in interface Iconic
getLargeIcon
public Icon getLargeIcon()
- Description copied from interface:
Iconic
- The large (32x32) icon.
- Specified by:
getLargeIcon
in interface Iconic
- Returns:
- The large icon, or null if no large icon is available.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 Commonwealth of Australia