RoboJDETM v2.0

com.ridgesoft.ui
Class TwoLineScreen

java.lang.Object
  extended by com.ridgesoft.ui.TwoLineScreen
All Implemented Interfaces:
Screen

public class TwoLineScreen
extends Object
implements Screen

Implements a Screen consisting of two lines with labels followed by values.

See Also:
ScreenManager

Constructor Summary
TwoLineScreen(String line1Label, Object line1Value, String line2Label, Object line2Value)
          Constructs a TwoLineScreen.
TwoLineScreen(String line1Label, String line2Label)
          Constructs a TwoLineScreen.
 
Method Summary
 void update(Display display)
          Updates the display with the two lines of static text.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

TwoLineScreen

public TwoLineScreen(String line1Label,
                     Object line1Value,
                     String line2Label,
                     Object line2Value)
Constructs a TwoLineScreen.

Parameters:
line1Label - first line label String, may be null
line1Value - first line value Object, may be null
line2Label - second line label String, may be null
line2Value - second line value Object, may be null

TwoLineScreen

public TwoLineScreen(String line1Label,
                     String line2Label)
Constructs a TwoLineScreen.

Parameters:
line1Label - first line label String, may be null
line2Label - second line label String, may be null
Method Detail

update

public void update(Display display)
Updates the display with the two lines of static text.

Specified by:
update in interface Screen
Parameters:
display - reference to the display to update

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com