|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.blackberry.api.messagelist.ApplicationIcon
public class ApplicationIcon
Application icon class is used in conjunction with application indicator and application messages. It incapsulates image and its painting properties.
Application icon can be scaled to better fit the target area. However, if no scaling enabled and the source image is bigger than the painting area then the icon will be truncated.
| Constructor Summary | ||
|---|---|---|
|
ApplicationIcon(EncodedImage icon)
Creates an application icon based on the encoded image. |
|
|
ApplicationIcon(EncodedImage icon,
boolean scalingEnabled)
Creates an application icon based on the encoded image and scaling attribute. |
|
| Method Summary | ||
|---|---|---|
|
boolean |
isScalingEnabled()
Returns if icon can be scaled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationIcon(EncodedImage icon)
icon - image to use as icon
NullPointerException - if icon in null
public ApplicationIcon(EncodedImage icon,
boolean scalingEnabled)
icon - image to use as iconscalingEnabled - specifies if the icon image can be scaled to better fit
the target area
NullPointerException - if icon in null| Method Detail |
|---|
public boolean isScalingEnabled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.