public static final class HashDeployCommandWriter.HashDisplayable extends HashStructureAdapter implements Displayable
_hash| Constructor and Description | 
|---|
HashDeployCommandWriter.HashDisplayable()  | 
HashDeployCommandWriter.HashDisplayable(HashStructure hash)  | 
| Modifier and Type | Method and Description | 
|---|---|
HashStructure | 
getHashStructure()
Returns the HashStructure this adapter is adapting. 
 | 
javax.swing.Icon | 
getIcon()
Returns an  
Icon that can be shown in association with this Displayable. | 
java.lang.String | 
getIconFile()  | 
java.lang.String | 
getLongLabel()
Returns a long label that can be displayed to the user. 
 | 
java.lang.String | 
getShortLabel()
Returns a short label that can be displayed to the user. 
 | 
java.lang.String | 
getToolTipText()
Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this  
Displayable. | 
void | 
setIconFile(java.lang.String file)  | 
void | 
setLongLabel(java.lang.String label)  | 
void | 
setShortLabel(java.lang.String label)  | 
void | 
setToolTipText(java.lang.String tip)  | 
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, removeStructureChangeListener, useObjectEqualsclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic HashDeployCommandWriter.HashDisplayable()
public HashDeployCommandWriter.HashDisplayable(HashStructure hash)
public java.lang.String getShortLabel()
DisplayableString is considered translatable and should therefore be placed in an appropriate resource file. When possible, the returned label should be reasonably short enough to show in the navigator or explorer windows but long enough to clearly identify and distinguish the Displayable.getShortLabel in interface DisplayableDisplayable that can be shown to the user.public void setShortLabel(java.lang.String label)
public java.lang.String getLongLabel()
DisplayableString is considered translatable and should therefore be placed in an appropriate resource file. The long label differs from the short label essentially on length. Usually the long label will only be shown on-demand and in places where horizontal space is more available. Examples are the status bar and tooltips.getLongLabel in interface DisplayableDisplayable that can be shown to the user.public void setLongLabel(java.lang.String label)
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 DisplayableIcon to be displayed for the Displayable.public java.lang.String getIconFile()
public void setIconFile(java.lang.String file)
public java.lang.String getToolTipText()
DisplayableDisplayable. In many cases it may be appropriate for this method to return the same value as Displayable.getLongLabel().getToolTipText in interface DisplayableDisplayable.public void setToolTipText(java.lang.String tip)
public HashStructure getHashStructure()
HashStructureAdaptergetHashStructure in class HashStructureAdapter