예제 #1
0
 /**
  * Sets the image for the screen info object.
  *
  * @param image the image, when null is given, no image is painted.
  */
 public static void setImage(Image image) {
   ((IconItem) item).setImage(image);
 }
예제 #2
0
 /**
  * Sets the image for the screen info object.
  *
  * @param image the image, when null is given, no image is painted.
  * @param style the new style of this item, is ignored when null
  */
 public static void setImage(Image image, Style style) {
   ((IconItem) item).setImage(image, style);
 }
예제 #3
0
 /**
  * Sets the text contents of the ScreenInfo along with a style.
  *
  * @param text the new text
  * @param style the new style, is ignored when null
  */
 public static void setText(String text, Style style) {
   // #debug
   System.out.println("ScreenInfo.setText " + text);
   ((IconItem) item).setText(text, style);
   repaint();
 }