org.opengts.war.track
Class DeviceChooser

java.lang.Object
  extended by org.opengts.war.track.DeviceChooser

public class DeviceChooser
extends java.lang.Object


Field Summary
static java.lang.String ID_SEARCH_TEXT
           
 
Constructor Summary
DeviceChooser()
           
 
Method Summary
static int getIDPosition(PrivateLabel privLabel)
           
static IDDescription.SortBy getSortBy(PrivateLabel privLabel)
           
static boolean isDeviceChooserUseTable(PrivateLabel privLabel)
           
static boolean isSearchEnabled(PrivateLabel privLabel)
           
static boolean matchUsingContains(PrivateLabel privLabel)
           
static boolean showSingleItemTextField(PrivateLabel privLabel)
           
static void writeChooserDIV(java.io.PrintWriter out, RequestProperties reqState, IDDescription[] list, java.lang.String searchVal)
           
static void writeDeviceList(java.io.PrintWriter out, RequestProperties reqState, java.lang.String varName)
           
static void writeJavaScript(java.io.PrintWriter out, java.util.Locale locale, RequestProperties reqState, java.lang.String deviceListURL)
           
static void writeStyle(java.io.PrintWriter out, RequestProperties reqState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_SEARCH_TEXT

public static java.lang.String ID_SEARCH_TEXT
Constructor Detail

DeviceChooser

public DeviceChooser()
Method Detail

showSingleItemTextField

public static boolean showSingleItemTextField(PrivateLabel privLabel)

getSortBy

public static IDDescription.SortBy getSortBy(PrivateLabel privLabel)

isDeviceChooserUseTable

public static boolean isDeviceChooserUseTable(PrivateLabel privLabel)

isSearchEnabled

public static boolean isSearchEnabled(PrivateLabel privLabel)

matchUsingContains

public static boolean matchUsingContains(PrivateLabel privLabel)

getIDPosition

public static int getIDPosition(PrivateLabel privLabel)

writeStyle

public static void writeStyle(java.io.PrintWriter out,
                              RequestProperties reqState)
                       throws java.io.IOException
Throws:
java.io.IOException

writeJavaScript

public static void writeJavaScript(java.io.PrintWriter out,
                                   java.util.Locale locale,
                                   RequestProperties reqState,
                                   java.lang.String deviceListURL)
                            throws java.io.IOException
Throws:
java.io.IOException

writeDeviceList

public static void writeDeviceList(java.io.PrintWriter out,
                                   RequestProperties reqState,
                                   java.lang.String varName)

writeChooserDIV

public static void writeChooserDIV(java.io.PrintWriter out,
                                   RequestProperties reqState,
                                   IDDescription[] list,
                                   java.lang.String searchVal)