dsto.dfc.swing.controls
Class AbstractIconicFolder

java.lang.Object
  extended by dsto.dfc.swing.controls.AbstractIconicFolder
All Implemented Interfaces:
Iconic, IconicFolder

public abstract class AbstractIconicFolder
extends Object
implements IconicFolder

Utility base class for IconicFolder's.

Version:
$Revision$

Field Summary
static Icon CLOSED_ICON
           
static Icon LARGE_CLOSED_ICON
           
static Icon LARGE_OPEN_ICON
           
static Icon OPEN_ICON
           
 
Fields inherited from interface dsto.dfc.swing.icons.Iconic
NULL_ICON
 
Constructor Summary
AbstractIconicFolder()
           
 
Method Summary
 Icon getIcon()
          The small (16x16) icon for the object.
 Icon getLargeIcon()
          The large (32x32) icon.
 Icon getLargeOpenIcon()
          The large (32x32) icon to use when folder is displayed as open.
abstract  String getName()
          The human-readable name for the object.
 Icon getOpenIcon()
          The normal (16x16) icon to use when folder is displayed as open.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPEN_ICON

public static final Icon OPEN_ICON

CLOSED_ICON

public static final Icon CLOSED_ICON

LARGE_OPEN_ICON

public static final Icon LARGE_OPEN_ICON

LARGE_CLOSED_ICON

public static final Icon LARGE_CLOSED_ICON
Constructor Detail

AbstractIconicFolder

public AbstractIconicFolder()
Method Detail

getOpenIcon

public Icon getOpenIcon()
Description copied from interface: IconicFolder
The normal (16x16) icon to use when folder is displayed as open. The closed icon is assumed to be the value of getIcon ().

Specified by:
getOpenIcon in interface IconicFolder

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.

getLargeOpenIcon

public Icon getLargeOpenIcon()
Description copied from interface: IconicFolder
The large (32x32) icon to use when folder is displayed as open. The closed icon is assumed to be the value of getLargeIcon ().

Specified by:
getLargeOpenIcon in interface IconicFolder

getName

public abstract String getName()
Description copied from interface: Iconic
The human-readable name for the object.

Specified by:
getName in interface Iconic


Copyright © 2008 Commonwealth of Australia