|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageDialogComponent
Interface for all custom components to be used in the standard insert image dialog. Implementing classes must use a constructor that takes an array of Objects (the same ones passed in when registering the component).
ELJBean.addImageDialogComponent(Class, Object[])
Method Summary | |
---|---|
void |
cleanUp()
Called during the dialog dispose() method. |
Map<String,?> |
getAttributeMap(Map<String,?> in)
Returns a Map of the attributes to be used in the IMG 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 ImageDialogComponent is selected. |
void |
setImageDialog(ImageDialog parent)
Sets the ImageDialog parent of this component. |
Method Detail |
---|
void setImageDialog(ImageDialog parent)
Map<String,?> getAttributeMap(Map<String,?> in)
Map
of the attributes to be used in the IMG tag. The attributes should be
stored as a name/value pair of Strings. e.g. "src", "http://www.myserver.com/images/myimage.jpg"
in
- a Map
containing the current attributes selected in the image dialog.
Map
containing name/value pairs of attributes for the image tag.String getButtonText()
ImageIcon getButtonImage()
JComponent getJComponent()
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 |