com.trackstudio.app.filter.customizer
Class PopUpCustomizer

java.lang.Object
  extended by com.trackstudio.app.filter.customizer.Customizer
      extended by com.trackstudio.app.filter.customizer.PopUpCustomizer

public class PopUpCustomizer
extends Customizer

Кастомный вывод всплывающего окна (для вывода в фильтрах)


Field Summary
static int TASK
          Задача
 int type
          Тип
static int USER
          Пользователь
 
Fields inherited from class com.trackstudio.app.filter.customizer.Customizer
disabled, map
 
Constructor Summary
PopUpCustomizer(FieldMap map, int type, boolean dis)
          Конструктор
 
Method Summary
 java.lang.String draw(SessionContext sc, FValue filter, java.lang.String contextPath)
          Метод для вывода информативного блока о полях
 java.lang.String drawInput(SessionContext sc, FValue filter, java.lang.String contextPath)
          Метод для вывода блока ввода для полей
 int getType()
          Возвращает тип
 void setFilter(SessionContext sc, javax.servlet.http.HttpServletRequest request, FValue filter)
          Устанавливает фильтр
 
Methods inherited from class com.trackstudio.app.filter.customizer.Customizer
drawForDateOrPopUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASK

public static final int TASK
Задача

See Also:
Constant Field Values

USER

public static final int USER
Пользователь

See Also:
Constant Field Values

type

public int type
Тип

Constructor Detail

PopUpCustomizer

public PopUpCustomizer(FieldMap map,
                       int type,
                       boolean dis)
Конструктор

Parameters:
map - карта полей
type - тип
dis - активность поля
Method Detail

getType

public int getType()
Возвращает тип

Returns:
тип

draw

public java.lang.String draw(SessionContext sc,
                             FValue filter,
                             java.lang.String contextPath)
                      throws GranException
Метод для вывода информативного блока о полях

Specified by:
draw in class Customizer
Parameters:
sc - сессия пользователя
filter - фильтр
contextPath - относительный путь контекста
Returns:
строка вывода
Throws:
GranException - при необзодимости

drawInput

public java.lang.String drawInput(SessionContext sc,
                                  FValue filter,
                                  java.lang.String contextPath)
                           throws GranException
Метод для вывода блока ввода для полей

Specified by:
drawInput in class Customizer
Parameters:
sc - сессия пользователя
filter - фильтр
contextPath - относительный путь контекста
Returns:
строка вывода
Throws:
GranException - при необзодимости

setFilter

public void setFilter(SessionContext sc,
                      javax.servlet.http.HttpServletRequest request,
                      FValue filter)
               throws GranException
Устанавливает фильтр

Specified by:
setFilter in class Customizer
Parameters:
sc - сессия пользователя
request - запрос
filter - фильтр
Throws:
GranException - при необходимости


Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.