public class CustomFiltersCtrl extends DialogCtrlBase
DialogCtrlBase.Entry
Modifier and Type | Field and Description |
---|---|
protected org.zkoss.zul.Radiogroup |
andor |
static String |
ARG_ANDOR |
static String |
ARG_F1_OP |
static String |
ARG_F1_VAL |
static String |
ARG_F2_OP |
static String |
ARG_F2_VAL |
static String |
ARG_FILTER_TYPE |
static String |
ARG_ROW_TEXTS |
protected org.zkoss.zul.Listbox |
f1operators |
protected org.zkoss.zul.ListModelList<SAutoFilter.FilterOp> |
f1opsModel |
protected org.zkoss.zul.ListModelList<FilterRowInfo> |
f1valsModel |
protected org.zkoss.zul.Combobox |
f1values |
protected org.zkoss.zul.Listbox |
f2operators |
protected org.zkoss.zul.ListModelList<SAutoFilter.FilterOp> |
f2opsModel |
protected org.zkoss.zul.ListModelList<FilterRowInfo> |
f2valsModel |
protected org.zkoss.zul.Combobox |
f2values |
protected org.zkoss.zul.Button |
okBtn |
static String |
URI |
ARG_CALLBACK, callback, ON_CANCEL, ON_OK
Constructor and Description |
---|
CustomFiltersCtrl() |
Modifier and Type | Method and Description |
---|---|
static SAutoFilter.FilterOp |
convertToDateOp(SAutoFilter.FilterOp op) |
void |
doAfterCompose(org.zkoss.zul.Window comp) |
static String |
formatDateText(Object val) |
protected void |
init(SAutoFilter.FilterOp f1op,
String f1val,
boolean isAnd,
SAutoFilter.FilterOp f2op,
String f2val,
List<FilterRowInfo> rowInfos) |
static boolean |
isDateOp(SAutoFilter.FilterOp op) |
protected org.zkoss.zul.ListModelList |
newOps(SAutoFilter.FilterOp op) |
void |
onCancel() |
void |
onOK() |
static Object |
parseInput(String editText) |
static void |
show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback,
SAutoFilter filter,
int index,
SAutoFilter.FilterOp op) |
detach, getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
public static String URI
public static String ARG_F1_OP
public static String ARG_F2_OP
public static String ARG_F1_VAL
public static String ARG_F2_VAL
public static String ARG_ANDOR
public static String ARG_ROW_TEXTS
public static String ARG_FILTER_TYPE
protected org.zkoss.zul.ListModelList<SAutoFilter.FilterOp> f1opsModel
protected org.zkoss.zul.ListModelList<SAutoFilter.FilterOp> f2opsModel
protected org.zkoss.zul.ListModelList<FilterRowInfo> f1valsModel
protected org.zkoss.zul.ListModelList<FilterRowInfo> f2valsModel
protected org.zkoss.zul.Button okBtn
protected org.zkoss.zul.Listbox f1operators
protected org.zkoss.zul.Combobox f1values
protected org.zkoss.zul.Listbox f2operators
protected org.zkoss.zul.Combobox f2values
protected org.zkoss.zul.Radiogroup andor
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, SAutoFilter filter, int index, SAutoFilter.FilterOp op)
public static SAutoFilter.FilterOp convertToDateOp(SAutoFilter.FilterOp op)
public static boolean isDateOp(SAutoFilter.FilterOp op)
protected void init(SAutoFilter.FilterOp f1op, String f1val, boolean isAnd, SAutoFilter.FilterOp f2op, String f2val, List<FilterRowInfo> rowInfos)
protected org.zkoss.zul.ListModelList newOps(SAutoFilter.FilterOp op)
public void doAfterCompose(org.zkoss.zul.Window comp) throws Exception
doAfterCompose
in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
doAfterCompose
in class DialogCtrlBase
Exception
public void onOK()
public void onCancel()
Copyright © 2020. All rights reserved.