use of com.sldeditor.filter.v2.function.FilterField in project sldeditor by robward-scisys.
the class FilterSubPanel method createUI.
/**
* Creates the ui.
*/
private void createUI() {
setLayout(new BorderLayout());
box = Box.createVerticalBox();
add(box, BorderLayout.CENTER);
//
// Filter panel
//
panelFilter = new JPanel(new FlowLayout());
lblFilter = new JLabel(Localisation.getString(ExpressionPanelv2.class, "ExpressionPanelv2.filter"));
panelFilter.add(lblFilter);
filterPanel = new FilterField(new SubPanelUpdatedInterface() {
@Override
public void updateSymbol() {
updateButtonState(true);
}
}, FilterManager.getInstance());
panelFilter.add(filterPanel);
box.add(panelFilter);
box.add(createAddRemoveFilterPanel());
box.add(createApplyRevertPanel());
}
Aggregations