jmc
Class GatewayForm

java.lang.Object
  extended by com.sun.lwuit.Component
      extended by com.sun.lwuit.Container
          extended by com.sun.lwuit.Form
              extended by jmc.GatewayForm
All Implemented Interfaces:
com.sun.lwuit.animations.Animation, com.sun.lwuit.events.ActionListener, com.sun.lwuit.events.StyleListener

public class GatewayForm
extends com.sun.lwuit.Form
implements com.sun.lwuit.events.ActionListener

Screen for the gateway registration


Field Summary
 com.sun.lwuit.TextArea address
           
 com.sun.lwuit.TextArea gateway
           
 com.sun.lwuit.TextArea password
           
 
Fields inherited from class com.sun.lwuit.Component
BOTTOM, BRB_CENTER_OFFSET, BRB_CONSTANT_ASCENT, BRB_CONSTANT_DESCENT, BRB_OTHER, CENTER, LEFT, RIGHT, TOP
 
Constructor Summary
GatewayForm(GuiMidlet _midlet)
           
 
Method Summary
 void actionPerformed(com.sun.lwuit.events.ActionEvent arg0)
           
 void configureFirstScreen()
          Configure screen
 void configureRegistration(java.lang.String trans)
          Configure screen
static boolean existGateway(java.util.Vector serv)
          Check if a gateway exists
static java.lang.String existTransport(java.util.Vector serv, java.lang.String trans)
          Check if a single transport exists
 
Methods inherited from class com.sun.lwuit.Form
actionCommand, addCommand, addCommand, addComponent, addComponent, addComponent, addGameKeyListener, addKeyListener, createCommandList, deregisterAnimated, getBackCommand, getClearCommand, getCommand, getCommandCount, getComponentForm, getContentPane, getDefaultCommand, getFocused, getGlassPane, getMenuStyle, getScrollAnimationSpeed, getSoftButton, getSoftButtonCount, getSoftButtonStyle, getTintColor, getTitle, getTitleComponent, getTitleStyle, getTransitionInAnimator, getTransitionOutAnimator, getUIID, hideNotify, isReverseSoftButtons, isSmoothScrolling, keyPressed, keyReleased, keyRepeated, onShow, paint, paintBackground, paramString, pointerDragged, pointerPressed, pointerReleased, refreshTheme, registerAnimated, removeAll, removeAllCommands, removeCommand, removeComponent, removeGameKeyListener, removeKeyListener, replace, scrollComponentToVisible, setBackCommand, setBgImage, setClearCommand, setCommandListener, setDefaultCommand, setFocused, setGlassPane, setLayout, setMenuCellRenderer, setMenuStyle, setMenuTransitions, setScrollable, setScrollableX, setScrollableY, setScrollAnimationSpeed, setSmoothScrolling, setSoftButtonStyle, setTintColor, setTitle, setTitleStyle, setTransitionInAnimator, setTransitionOutAnimator, setVisible, show, showMenuDialog, showNotify, sizeChanged
 
Methods inherited from class com.sun.lwuit.Container
addComponent, calcPreferredSize, contains, getComponentAt, getComponentAt, getComponentCount, getComponentIndex, getLayout, getLayoutHeight, getLayoutWidth, invalidate, isScrollableX, isScrollableY, layoutContainer, revalidate, setCellRenderer, setShouldCalcPreferredSize
 
Methods inherited from class com.sun.lwuit.Component
addFocusListener, animate, contains, deinitialize, fireClicked, getAbsoluteX, getAbsoluteY, getBaseline, getBaselineResizeBehavior, getBorder, getBottomGap, getBounds, getClientProperty, getHeight, getNextFocusDown, getNextFocusLeft, getNextFocusRight, getNextFocusUp, getParent, getPreferredH, getPreferredSize, getPreferredW, getScrollX, getScrollY, getSideGap, getStyle, getWidth, getX, getY, handlesInput, hasFocus, initComponent, isBorderPainted, isEnabled, isFocusable, isFocusPainted, isInitialized, isScrollable, isScrollVisible, isSelectableInteraction, isVisible, paintBackgrounds, paintBorder, paintComponent, paintComponent, paintScrollbars, paintScrollbarX, paintScrollbarY, putClientProperty, refreshTheme, removeFocusListener, repaint, repaint, requestFocus, scrollRectToVisible, setBorderPainted, setEnabled, setFocus, setFocusable, setFocusPainted, setHandlesInput, setHeight, setInitialized, setIsScrollVisible, setNextFocusDown, setNextFocusLeft, setNextFocusRight, setNextFocusUp, setPreferredH, setPreferredSize, setPreferredW, setScrollX, setScrollY, setSize, setStyle, setWidth, setX, setY, styleChanged, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gateway

public com.sun.lwuit.TextArea gateway

address

public com.sun.lwuit.TextArea address

password

public com.sun.lwuit.TextArea password
Constructor Detail

GatewayForm

public GatewayForm(GuiMidlet _midlet)
Method Detail

configureRegistration

public void configureRegistration(java.lang.String trans)
Configure screen


configureFirstScreen

public void configureFirstScreen()
Configure screen


existGateway

public static boolean existGateway(java.util.Vector serv)
Check if a gateway exists

Parameters:
serv -

existTransport

public static java.lang.String existTransport(java.util.Vector serv,
                                              java.lang.String trans)
Check if a single transport exists

Parameters:
serv -

actionPerformed

public void actionPerformed(com.sun.lwuit.events.ActionEvent arg0)
Specified by:
actionPerformed in interface com.sun.lwuit.events.ActionListener