com.ephox.editlive.common
Interface CustomView


public interface CustomView

The interface implemented by custom views to make creating custom property dialogs easier.

See Also:
ViewClickListener

Method Summary
 Element getElement()
          Returns the element represented by this view.
 Map getTagAttributes()
          Returns the attributes for the tag as a Map.
 void setTagAttributes(Map attributes)
          Sets the attributes for the tag.
 

Method Detail

getTagAttributes

public Map getTagAttributes()
Returns the attributes for the tag as a Map. See the documentation for custom properties in your SDK for information about the contents of the Map.

Returns:
a Map containing the attributes for the tag.

setTagAttributes

public void setTagAttributes(Map attributes)
Sets the attributes for the tag. See the documentation for custom properties in your SDK for information about the contents of the Map.

Parameters:
attributes - the attributes to set.

getElement

public Element getElement()
Returns the element represented by this view.

Returns:
the Element represented by this view.

Copyright (c) 2005-2007 Ephox Pty Ltd. All rights reserved.