Interface LayoutStateChange.Support
-
- All Known Implementing Classes:
LayoutStateChange.SupportImpl
- Enclosing interface:
- LayoutStateChange
public static interface LayoutStateChange.Support
required method signatures to be a producer for this event model
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLayoutStateChangeListener(LayoutStateChange.Listener listener)
static LayoutStateChange.Support
create()
void
fireLayoutStateChanged(LayoutModel layoutModel, boolean state)
List<LayoutStateChange.Listener>
getLayoutStateChangeListeners()
boolean
isFireEvents()
void
removeLayoutStateChangeListener(LayoutStateChange.Listener listener)
void
setFireEvents(boolean fireEvents)
-
-
-
Method Detail
-
create
static LayoutStateChange.Support create()
-
isFireEvents
boolean isFireEvents()
-
setFireEvents
void setFireEvents(boolean fireEvents)
-
addLayoutStateChangeListener
void addLayoutStateChangeListener(LayoutStateChange.Listener listener)
-
removeLayoutStateChangeListener
void removeLayoutStateChangeListener(LayoutStateChange.Listener listener)
-
getLayoutStateChangeListeners
List<LayoutStateChange.Listener> getLayoutStateChangeListeners()
-
fireLayoutStateChanged
void fireLayoutStateChanged(LayoutModel layoutModel, boolean state)
- Parameters:
layoutModel
- the layoutModelstate
-true
if the layoutModel is active,false
otherwise
-
-