站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

ProjectCustomizer.Category (NetBeans Project UI API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.project.ui.support
Class ProjectCustomizer.Category

java.lang.Object
  extended byorg.netbeans.spi.project.ui.support.ProjectCustomizer.Category
Enclosing class:
ProjectCustomizer

public static final class ProjectCustomizer.Category
extends Object

Describes category of properties to be customized by given component


Method Summary
static ProjectCustomizer.Category create(String name, String displayName, Image icon, ProjectCustomizer.Category[] subcategories)
          Factory method which creates new category description.
 String getDisplayName()
          Gets display name of given category.
 Image getIcon()
          Gets icon of given category.
 String getName()
          Gets programmatic name of given category.
 ProjectCustomizer.Category[] getSubcategories()
          Gets subcategories of given category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ProjectCustomizer.Category create(String name,
                                                String displayName,
                                                Image icon,
                                                ProjectCustomizer.Category[] subcategories)
Factory method which creates new category description.

Parameters:
name - Prograatic name of the category
displayName - Name to be shown to the user
icon - Icon for given category. Will use default icon if null.
subcategories - Subcategories to be shown under given category. Category won't be expandable if null or empty array.

getName

public String getName()
Gets programmatic name of given category.

Returns:
Programmatic name of the category

getDisplayName

public String getDisplayName()
Gets display name of given category.

Returns:
Display name of the category

getIcon

public Image getIcon()
Gets icon of given category.

Returns:
Icon name of the category or null

getSubcategories

public ProjectCustomizer.Category[] getSubcategories()
Gets subcategories of given category.

Returns:
Subcategories of the category or null

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.