| |
|
| java.lang.Object org.netbeans.modules.vmd.api.screen.display.ScreenDeviceInfo org.netbeans.modules.vmd.midp.screen.MidpScreenDeviceInfo
MidpScreenDeviceInfo | public class MidpScreenDeviceInfo extends 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 static class MidpDeviceTheme extends DeviceTheme | |
MidpScreenDeviceInfo | public MidpScreenDeviceInfo()(Code) | | |
getCurrentScreenSize | public Dimension getCurrentScreenSize()(Code) | | Gets current screen size
|
getCustomScreenSizes | public Collection<Dimension> getCustomScreenSizes()(Code) | | Returns a collection of the arbitrary sceeen sizes
|
getDeviceBorder | public DeviceBorder getDeviceBorder(Edge edge)(Code) | | Gets image for the given edge of the device
Parameters: edge - |
getDeviceInfoID | public String getDeviceInfoID()(Code) | | Gets device info ID. Used to identify the device info.
|
getDeviceTheme | public DeviceTheme getDeviceTheme()(Code) | | Gets device view resource (e.g. colors, images, fonts ...)
|
loadImages | protected void loadImages()(Code) | | |
setArbitraryScreenSize | public void setArbitraryScreenSize(Dimension newScreenSize)(Code) | | Sets the arbitrary screen size to be used
Parameters: newScreenSize - |
supportsArbitraryScreenSize | public boolean supportsArbitraryScreenSize()(Code) | | returns true if this device supports arbitrary screen size
|
supportsCustomScreenSize | public boolean supportsCustomScreenSize()(Code) | | Checks whether this device support custom screen sizes
|
|
|
|