org.xnap.commons.pkg
Class DefaultPackageSection
java.lang.Object
org.xnap.commons.pkg.DefaultPackageSection
- All Implemented Interfaces:
- PackageSection
public class DefaultPackageSection
- extends Object
- implements PackageSection
- See Also:
PackageManager
DefaultPackageSection
public DefaultPackageSection(String name,
Icon icon)
getIcon
public Icon getIcon()
- Description copied from interface:
PackageSection
- Returns a 16x16 icon. The icon is displayed next to the name.
- Specified by:
getIcon
in interface PackageSection
- See Also:
PackageSection.getIcon()
getName
public String getName()
- Description copied from interface:
PackageSection
- Returns the name of the section.
- Specified by:
getName
in interface PackageSection
- See Also:
PackageSection.getName()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
getName()
Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.