|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A MediaQueriable represents the media query type and features of a device.
DeviceV2| Method Summary | |
boolean |
getMediaFeatureBoolean(java.lang.String feature)Gets the media feature value. |
int |
getMediaFeatureInteger(java.lang.String feature)Gets the media feature value. |
double |
getMediaFeatureLength(java.lang.String feature, java.lang.String unit)Gets the media feature value. |
java.util.HashSet |
getMediaFeatureSet(java.lang.String feature)Gets the media feature value. |
java.lang.String |
getMediaFeatureString(java.lang.String feature)Gets the media feature value. |
java.lang.String |
getMediaType()Gets the media type property value |
boolean |
isMediaType(java.lang.String mediaType)Test if the device media type matches the parameter |
| Method Detail |
public boolean getMediaFeatureBoolean(java.lang.String feature)
feature - the media featurepublic int getMediaFeatureInteger(java.lang.String feature)
feature - the media feature
public double getMediaFeatureLength(java.lang.String feature,
java.lang.String unit)
feature - the media featureunit - the absolute unit for the lengthpublic java.util.HashSet getMediaFeatureSet(java.lang.String feature)
feature - the media featurepublic java.lang.String getMediaFeatureString(java.lang.String feature)
feature - the media featurepublic java.lang.String getMediaType()
public boolean isMediaType(java.lang.String mediaType)
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||