com.trackstudio.app.filter.customizer
Class DateCustomizer
java.lang.Object
com.trackstudio.app.filter.customizer.Customizer
com.trackstudio.app.filter.customizer.DateCustomizer
- All Implemented Interfaces:
- java.io.Serializable
public class DateCustomizer
- extends Customizer
- implements java.io.Serializable
Кастомный вывод даты (для вывода в фильтрах)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateCustomizer
public DateCustomizer(FieldMap map,
DateFormatter d)
- Конструктор по умолчанию
- Parameters:
map - карта полейd - форматтер даты
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.