public class JLibraryAdapter extends LibraryAdapter implements JLibrary
_hashDEPLOYED_BY_DEFAULT_PROPERTYLIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTYCLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY| Constructor and Description |
|---|
JLibraryAdapter(HashStructure hash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalent(Library lib)
Determine whether the given Library is equivalent to this one with respect
to the values of its public properties other than name.
|
JLibraryDefinition |
getDefaultLibraryDefinition()
Deprecated.
JDK based versions desupported. Use JLibrary directly.
|
java.lang.Boolean |
getDeployedByDefault() |
javax.swing.Icon |
getIcon()
Returns an
Icon that can be shown in association with this
Displayable. |
JLibraryDefinition |
getLibraryDefinition(VersionNumber jdkVer)
Deprecated.
JDK based versions desupported. Use JLibrary directly.
|
void |
initFromLibrary(Library lib)
Initialize all public properties, other than name, from the Library
provided.
|
void |
setDeployedByDefault(java.lang.Boolean deploy) |
void |
setIcon(javax.swing.Icon icon) |
getClassPath, getClassPath, getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getDocPath, getDocPath, getID, getLongLabel, getName, getShortLabel, getSourcePath, getSourcePath, getSourcePath, getToolTipText, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setID, setLocked, setName, setSourcePath, toStringaddStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEqualsclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setNamegetClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePathgetAttributedLabel, getLongLabel, getShortLabel, getToolTipText, toStringpublic JLibraryAdapter(HashStructure hash)
public boolean equivalent(Library lib)
Libraryequivalent in interface Libraryequivalent in class LibraryAdapterlib - the Library against which to test for equivalence.public void initFromLibrary(Library lib)
LibraryinitFromLibrary in interface LibraryinitFromLibrary in class LibraryAdapterlib - the Library from which to fetch property values.public void setIcon(javax.swing.Icon icon)
public javax.swing.Icon getIcon()
DisplayableIcon that can be shown in association with this
Displayable. Typically the icon will be used in a
tree control or list control. Therefore the icon must fit
naturally within the space normally given to items within those
controls. Such icons are usually 16x16 in size or, if there is a
one-pixel transparent padding around the edge, 18x18 in size. It
is strongly recommended that icons returned by this method be
either 16x16 or 18x18 in size. If null is returned,
the control may show a default icon, or it may show no icon,
whichever is appropriate.getIcon in interface DisplayablegetIcon in class LibraryAdapterIcon to be displayed for the
Displayable.public java.lang.Boolean getDeployedByDefault()
throws AttributeMarker
getDeployedByDefault in interface JLibraryAttributeMarkerpublic void setDeployedByDefault(java.lang.Boolean deploy)
setDeployedByDefault in interface JLibrary@Deprecated public JLibraryDefinition getDefaultLibraryDefinition()
getDefaultLibraryDefinition in interface JLibrary@Deprecated public JLibraryDefinition getLibraryDefinition(VersionNumber jdkVer)
getLibraryDefinition in interface JLibrary