com.ephox.editlive.common
Interface CustomView


public interface CustomView

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

The maps used by this class are structured as:

See Also:
ViewClickListener

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

Method Detail

getTagAttributes

Map<String,?> getTagAttributes()
Returns the attributes for the tag as a Map. Contents of the map are detailed in the header.

Returns:
a Map containing the attributes for the tag.

setTagAttributes

void setTagAttributes(Map<String,?> attributes)
Sets the attributes for the tag. Contents of the map are detailed in the header.

Parameters:
attributes - the attributes to set.

getElement

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

Returns:
the Element represented by this view.

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