Package org.zkoss.zk.device
Interface DeviceConfig
-
public interface DeviceConfig
Used to initialize a device (Device
).- Since:
- 3.0.0
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEmbedded()
Returns the content that shall be embedded to the output being generated to the client, or null if no embedded content.java.lang.Class
getServerPushClass()
Returns the class that implements the server-push feature (ServerPush
) for this device, or null if the default is used.java.lang.String
getUnavailableMessage()
Returns the unavailable message that is shown to the client if the client doesn't support this device.
-
-
-
Method Detail
-
getUnavailableMessage
java.lang.String getUnavailableMessage()
Returns the unavailable message that is shown to the client if the client doesn't support this device.- Returns:
- the unavailable message, or null if no such message
-
getServerPushClass
java.lang.Class getServerPushClass()
Returns the class that implements the server-push feature (ServerPush
) for this device, or null if the default is used.- Since:
- 3.0.0
-
getEmbedded
java.lang.String getEmbedded()
Returns the content that shall be embedded to the output being generated to the client, or null if no embedded content.- Since:
- 3.0.6
-
-