org.netbeans.modules.project.libraries/1 1.36

org.netbeans.spi.project.libraries
Interface NamedLibraryImplementation

All Superinterfaces:
LibraryImplementation
All Known Subinterfaces:
LibraryImplementation3

public interface NamedLibraryImplementation
extends LibraryImplementation

LibraryImplementation extension allowing setting/getting display name.

Since:
org.netbeans.modules.project.libraries/1 1.31

Field Summary
static String PROP_DISPLAY_NAME
          Name of displayName property.
 
Fields inherited from interface org.netbeans.spi.project.libraries.LibraryImplementation
PROP_CONTENT, PROP_DESCRIPTION, PROP_NAME
 
Method Summary
 String getDisplayName()
          Returns the display name if available or null.
 void setDisplayName(String displayName)
          Sets the display name.
 
Methods inherited from interface org.netbeans.spi.project.libraries.LibraryImplementation
addPropertyChangeListener, getContent, getDescription, getLocalizingBundle, getName, getType, removePropertyChangeListener, setContent, setDescription, setLocalizingBundle, setName
 

Field Detail

PROP_DISPLAY_NAME

static final String PROP_DISPLAY_NAME
Name of displayName property.

See Also:
Constant Field Values
Method Detail

setDisplayName

void setDisplayName(@NullAllowed
                    String displayName)
Sets the display name.

Parameters:
displayName - the new value of the displayName. If null resets the display name to the value provided by the localizing bundle or the identifying name.

getDisplayName

@CheckForNull
String getDisplayName()
Returns the display name if available or null.

Returns:
the display name

org.netbeans.modules.project.libraries/1 1.36

Built on May 24 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.