com.gwtext.client.widgets.event
Interface BoxComponentListener
- All Superinterfaces:
- ComponentListener
- All Known Subinterfaces:
- CheckboxListener, ComboBoxListener, ContainerListener, DataViewListener, FieldListener, FocusPanelListener, FormPanelListener, HtmlEditorListener, PanelListener, ProgressBarListener, TabPanelListener, TextFieldListener, TreePanelListener, WindowListener
- All Known Implementing Classes:
- BoxComponentListenerAdapter, CheckboxListenerAdapter, ComboBoxListenerAdapter, ContainerListenerAdapter, DataViewListenerAdapter, FieldListenerAdapter, FocusPanelListenerAdapter, FormPanelListenerAdapter, HtmlEditorListenerAdapter, PanelListenerAdapter, ProgressBarListenerAdapter, TabPanelListenerAdapter, TextFieldListenerAdapter, TreePanelListenerAdapter, WindowListenerAdapter
public interface BoxComponentListener
- extends ComponentListener
Method Summary |
void |
onMove(BoxComponent component,
int x,
int y)
Fires after the component is moved. |
void |
onResize(BoxComponent component,
int adjWidth,
int adjHeight,
int rawWidth,
int rawHeight)
Fires after the component is resized. |
Methods inherited from interface com.gwtext.client.widgets.event.ComponentListener |
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave |
onMove
void onMove(BoxComponent component,
int x,
int y)
- Fires after the component is moved.
- Parameters:
component
- thisx
- the new x positiony
- the new y position
onResize
void onResize(BoxComponent component,
int adjWidth,
int adjHeight,
int rawWidth,
int rawHeight)
- Fires after the component is resized. Note that percentage based widths and auto widths are passed as -1.
- Parameters:
component
- thisadjWidth
- the box-adjusted width that was setadjHeight
- the box-adjusted height that was setrawWidth
- the width that was originally specifiedrawHeight
- the height that was originally specified