| |
|
| java.lang.Object org.netbeans.modules.vmd.api.screen.display.ScreenDeviceInfo
All known Subclasses: org.netbeans.modules.vmd.midp.screen.MidpScreenDeviceInfo,
ScreenDeviceInfo | abstract public class ScreenDeviceInfo (Code) | | Main class hodling bas device info for the device.
TODO this class should be made abstract and the implementation
should be moved either to the MIDP module or to a completely
separate module defining L&F of the view
author: breh |
Inner Class :public enum Edge | |
getCurrentScreenSize | abstract public Dimension getCurrentScreenSize()(Code) | | Gets current screen size
|
getCustomScreenSizes | abstract public Collection<Dimension> getCustomScreenSizes()(Code) | | Returns a collection of the arbitrary sceeen sizes
|
getDeviceBorder | abstract public DeviceBorder getDeviceBorder(Edge edge)(Code) | | Gets image for the given edge of the device
Parameters: edge - |
getDeviceInfoID | abstract public String getDeviceInfoID()(Code) | | Gets device info ID. Used to identify the device info.
|
getDeviceTheme | abstract public DeviceTheme getDeviceTheme()(Code) | | Gets device view resource (e.g. colors, images, fonts ...)
|
loadImages | abstract protected void loadImages()(Code) | | |
setArbitraryScreenSize | abstract public void setArbitraryScreenSize(Dimension newScreenSize)(Code) | | Sets the arbitrary screen size to be used
Parameters: newScreenSize - |
supportsArbitraryScreenSize | abstract public boolean supportsArbitraryScreenSize()(Code) | | returns true if this device supports arbitrary screen size
|
supportsCustomScreenSize | abstract public boolean supportsCustomScreenSize()(Code) | | Checks whether this device support custom screen sizes
|
|
|
|