- All Implemented Interfaces:
Facet
- Direct Known Subclasses:
AbstractScreenFacet
, ClipboardTriggerImpl
, DataLoadCoordinatorImpl
, DynAttrFacetImpl
, InputDialogFacetImpl
, MessageDialogFacetImpl
, NotificationFacetImpl
, OptionDialogFacetImpl
, PresentationsFacetImpl
, ScreenSettingsFacetImpl
, TimerImpl
public class AbstractFacet
extends Object
implements Facet
-
-
Constructor Summary
Constructors
-
Method Summary
protected boolean
protected <E> void
void
void
protected <E> boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
AbstractFacet
public AbstractFacet()
-
Method Details
-
-
publish
protected <E> void publish(Class<E> eventType,
E event)
-
hasSubscriptions
protected boolean hasSubscriptions(Class<?> eventClass)
-
unsubscribe
protected <E> boolean unsubscribe(Class<E> eventType,
Consumer<E> listener)
-
getId
@Nullable
public String getId()
- Specified by:
getId
in interface Facet
- Returns:
- ID as defined in
id
attribute
-
setId
public void setId(@Nullable
String id)
Description copied from interface: Facet
Sets facet ID.
- Specified by:
setId
in interface Facet
- Parameters:
id
- id
-
setOwner
public void setOwner(@Nullable
Frame owner)
Description copied from interface: Facet
- Specified by:
setOwner
in interface Facet
- Parameters:
owner
- owner frame
-
getOwner
@Nullable
public Frame getOwner()
- Specified by:
getOwner
in interface Facet
- Returns:
- owner frame