Interface LayoutSizeChange.Support<V>
-
- All Known Implementing Classes:
LayoutSizeChange.SupportImpl
- Enclosing interface:
- LayoutSizeChange
public static interface LayoutSizeChange.Support<V>
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
addLayoutSizeChangeListener(LayoutSizeChange.Listener<V> listener)
static <V> LayoutSizeChange.Support<V>
create()
void
fireLayoutSizeChanged(LayoutModel<V> layoutModel, int width, int height)
List<LayoutSizeChange.Listener<V>>
getLayoutSizeChangeListeners()
boolean
isFireEvents()
void
removeLayoutSizeChangeListener(LayoutSizeChange.Listener<V> listener)
void
setFireEvents(boolean fireEvents)
-
-
-
Method Detail
-
create
static <V> LayoutSizeChange.Support<V> create()
-
isFireEvents
boolean isFireEvents()
-
setFireEvents
void setFireEvents(boolean fireEvents)
-
addLayoutSizeChangeListener
void addLayoutSizeChangeListener(LayoutSizeChange.Listener<V> listener)
-
removeLayoutSizeChangeListener
void removeLayoutSizeChangeListener(LayoutSizeChange.Listener<V> listener)
-
getLayoutSizeChangeListeners
List<LayoutSizeChange.Listener<V>> getLayoutSizeChangeListeners()
-
fireLayoutSizeChanged
void fireLayoutSizeChanged(LayoutModel<V> layoutModel, int width, int height)
- Parameters:
layoutModel
- the layoutModelwidth
- thewidth
of theLayoutModel
height
- theheight
of theLayoutModel
-
-