asquare.gwt.tk.client.ui.behavior.impl
Class GlassPanelControllerStandard
java.lang.Object
asquare.gwt.tk.client.ui.behavior.EventDelegateAdaptor
asquare.gwt.tk.client.ui.behavior.ControllerAdaptor
asquare.gwt.tk.client.ui.behavior.impl.GlassPanelControllerStandard
- All Implemented Interfaces:
- Controller, EventDelegate, GlassPanelController, WindowResizeListener
- Direct Known Subclasses:
- GlassPanelControllerIE6ImplQuirks, GlassPanelControllerSafari
public class GlassPanelControllerStandard
- extends ControllerAdaptor
- implements GlassPanelController, WindowResizeListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface asquare.gwt.tk.client.ui.behavior.Controller |
getId |
m_xScroll
protected boolean m_xScroll
m_yScroll
protected boolean m_yScroll
GlassPanelControllerStandard
public GlassPanelControllerStandard()
plugIn
public void plugIn(Widget widget)
- Description copied from interface:
Controller
- Called when the widget is attached to the DOM. Use to initialize widget,
install special hooks and attach listeners.
- Specified by:
plugIn in interface Controller- Overrides:
plugIn in class ControllerAdaptor
- Parameters:
widget - the view to control
unplug
public void unplug(Widget widget)
- Description copied from interface:
Controller
- Called when the widget is detached from the DOM. Use to remove listeners
and null out any references set on the DOM.
- Specified by:
unplug in interface Controller- Overrides:
unplug in class ControllerAdaptor
getWidget
public Widget getWidget()
canScrollX
public boolean canScrollX()
canScrollY
public boolean canScrollY()
calculateWidth
public String calculateWidth()
calculateHeight
public String calculateHeight()
updateWidth
protected void updateWidth()
updateHeight
protected void updateHeight()
onWindowResized
public void onWindowResized(int width,
int height)
- Specified by:
onWindowResized in interface WindowResizeListener
© 2007 Mat Gessel