Sony Addon SDK
public class

HostAppWidgetInfo

This project is no longer being supported and will not get any further updates.
extends java.lang.Object
  1. java.lang.Object
  2. com.sonyericsson.extras.liveware.extension.util.registration.HostAppWidgetInfo

Class Overview

The widget info class describes a host application widget. The information is retrieved from the Registration.Widget table.

Summary

Public Constructors
HostAppWidgetInfo(long id, int cellWidth, int cellHeight, int maxWidth, int maxHeight, int displayMode, java.lang.String type)

Create a host application widget info object.

Public Methods
long getId()

The ID of the widget.

int getCellWidth()

The width of a cell in pixels.

int getCellHeight()

The height of a cell in pixels.

int getMaxWidth()

The maximum width of a widget in pixels.

int getMaxHeight()

The maximum height of a widget in pixels.

int getDisplayMode()

The display mode

java.lang.String getType()

Public Constructors

public HostAppWidgetInfo(long id, int cellWidth, int cellHeight, int maxWidth, int maxHeight, int displayMode, java.lang.String type)

Create a host application widget info object.

Parameters
id
cellWidth
cellHeight
maxWidth
maxHeight
displayMode
type

Public Methods

public long getId()

The ID of the widget. Is populated from the _ID field of the Registration.Widget table.

Returns

The ID.

public int getCellWidth()

The width of a cell in pixels. Is populated from the CELL_WIDTH field.

Returns

The cell width.

public int getCellHeight()

The height of a cell in pixels. Is populated from the CELL_HEIGHT field.

Returns

The cell height.

public int getMaxWidth()

The maximum width of a widget in pixels. Is populated from the MAX_WIDTH field.

Returns

The maximum width.

public int getMaxHeight()

The maximum height of a widget in pixels. Is populated from the MAX_HEIGHT field.

Returns

The maximum height.

public int getDisplayMode()

The display mode

Returns

the mDisplayMode

public java.lang.String getType()

Returns

the mType