org.cruxframework.crux.core.client.screen
Interface DeviceAdaptive

All Superinterfaces:
com.google.gwt.user.client.ui.IsWidget

public interface DeviceAdaptive
extends com.google.gwt.user.client.ui.IsWidget

Classes that implement this interface are rendered differently according to the client device type.

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class DeviceAdaptive.Device
          All devices supported by Crux CrossDevice engine
static class DeviceAdaptive.Input
          The supported features for cross device widgets
static class DeviceAdaptive.Size
          The screen sizes supported by crux
static interface DeviceAdaptive.Template
          Used to map the template used by a specific device
static interface DeviceAdaptive.Templates
          Used to map the all templates used by the target deviceAdaptive Widget
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addAttachHandler(com.google.gwt.event.logical.shared.AttachEvent.Handler handler)
           
<H extends com.google.gwt.event.shared.EventHandler>
com.google.gwt.event.shared.HandlerRegistration
addHandler(H handler, com.google.gwt.event.shared.GwtEvent.Type<H> type)
           
 com.google.gwt.dom.client.Element getElement()
           
 String getStyleName()
           
 String getTitle()
           
 boolean isVisible()
           
 void setHeight(String height)
           
 void setStyleName(String style)
           
 void setTitle(String title)
           
 void setVisible(boolean visible)
           
 void setWidth(String width)
           
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Method Detail

setWidth

void setWidth(String width)

setVisible

void setVisible(boolean visible)

isVisible

boolean isVisible()

setStyleName

void setStyleName(String style)

getStyleName

String getStyleName()

setTitle

void setTitle(String title)

getTitle

String getTitle()

setHeight

void setHeight(String height)

getElement

com.google.gwt.dom.client.Element getElement()

addAttachHandler

com.google.gwt.event.shared.HandlerRegistration addAttachHandler(com.google.gwt.event.logical.shared.AttachEvent.Handler handler)

addHandler

<H extends com.google.gwt.event.shared.EventHandler> com.google.gwt.event.shared.HandlerRegistration addHandler(H handler,
                                                                                                                com.google.gwt.event.shared.GwtEvent.Type<H> type)


Copyright © 2014. All rights reserved.