public interface HyperlinkDialogComponent
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Called as the dialog is being disposed.
|
java.util.Map<java.lang.String,?> |
getAttributeMap(java.util.Map<java.lang.String,?> in)
Returns a
Map of the attributes to be used in the A tag. |
javax.swing.ImageIcon |
getButtonImage()
Returns the image to be displayed in the repository selection toggle button.
|
java.lang.String |
getButtonText()
Returns the text to be displayed in the repository selection toggle button.
|
javax.swing.JComponent |
getJComponent()
Returns the JComponent to display when this HyperlinkDialogComponent is selected.
|
void |
setActive(boolean active)
Sets the current component status.
|
void |
setHyperlinkDialog(HyperlinkDialog parent)
Sets the HyperlinkDialog parent to be called back into.
|
void setHyperlinkDialog(HyperlinkDialog parent)
parent
- HyperlinkDialog parentjava.util.Map<java.lang.String,?> getAttributeMap(java.util.Map<java.lang.String,?> in)
Map
of the attributes to be used in the A tag. The attributes should be
stored as a name/value pair of Strings. e.g. "href", "http://www.myserver.com/index.html"in
- a Map
containing the current attributes selected in the hyperlink dialog.Map
containing name/value pairs of attributes for the A tag.java.lang.String getButtonText()
javax.swing.ImageIcon getButtonImage()
javax.swing.JComponent getJComponent()
void setActive(boolean active)
active
- Status of the component.void cleanUp()