|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ephox.editlive.ephoxaction.filter.EnableInTagFilter
public class EnableInTagFilter
Automatically enables and disables when the cursor is inside (or has selected) the given tag.
NOTE: Must be manually registered as a listener on EventBroadcaster
.
Constructor Summary | |
---|---|
EnableInTagFilter(String tagName)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener which must be notified when the enabled state of this filter changes. |
String |
getTagName()
|
boolean |
isEnabled()
Calculate whether or not this filter will allow the action to be enabled. |
void |
raiseEvent(TextEvent event)
Method used to listen for events raised by EditLive!. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnableInTagFilter(String tagName)
Method Detail |
---|
public String getTagName()
public boolean isEnabled()
EnabledFilter
isEnabled
in interface EnabledFilter
public void addPropertyChangeListener(PropertyChangeListener listener)
EnabledFilter
addPropertyChangeListener
in interface EnabledFilter
listener
- the listener to add.public void raiseEvent(TextEvent event)
EventListener
raiseEvent
in interface EventListener
event
- TextEvent to be parsed.
|
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 |