|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HyperlinkDialogComponent
Interface for all custom components to be used in the standard insert hyperlink dialog. Implementing classes must use a constructor that takes an array of Objects (the same ones passed in when registering the component).
ELJBean.addHyperlinkDialogComponent(Class, Object[])
Method Summary | |
---|---|
void |
cleanUp()
Called as the dialog is being disposed. |
Map<String,?> |
getAttributeMap(Map<String,?> in)
Returns a Map of the attributes to be used in the A tag. |
ImageIcon |
getButtonImage()
Returns the image to be displayed in the repository selection toggle button. |
String |
getButtonText()
Returns the text to be displayed in the repository selection toggle button. |
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. |
Method Detail |
---|
void setHyperlinkDialog(HyperlinkDialog parent)
Map<String,?> getAttributeMap(Map<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.String getButtonText()
ImageIcon getButtonImage()
JComponent getJComponent()
void setActive(boolean active)
active
- Status of the component.void cleanUp()
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |