Search in sources :

Example 6 with SubPanelUpdatedInterface

use of com.sldeditor.ui.attribute.SubPanelUpdatedInterface in project sldeditor by robward-scisys.

the class PropertyPanel method createUI.

/**
 * Creates the ui.
 */
private void createUI() {
    setLayout(new BorderLayout());
    dataSourceAttributePanel = new DataSourceAttributePanel(new SubPanelUpdatedInterface() {

        @Override
        public void updateSymbol() {
            updateButtonState(true);
        }
    });
    add(dataSourceAttributePanel, BorderLayout.NORTH);
    add(createApplyRevertPanel(), BorderLayout.CENTER);
}
Also used : SubPanelUpdatedInterface(com.sldeditor.ui.attribute.SubPanelUpdatedInterface) BorderLayout(java.awt.BorderLayout) DataSourceAttributePanel(com.sldeditor.ui.attribute.DataSourceAttributePanel)

Example 7 with SubPanelUpdatedInterface

use of com.sldeditor.ui.attribute.SubPanelUpdatedInterface in project sldeditor by robward-scisys.

the class EnvironmentVariablePanel method createUI.

/**
 * Creates the ui.
 */
private void createUI() {
    setLayout(new BorderLayout());
    dataSourceAttributePanel = new DataSourceAttributePanel(new SubPanelUpdatedInterface() {

        @Override
        public void updateSymbol() {
            updateButtonState(true);
        }
    });
    add(dataSourceAttributePanel, BorderLayout.NORTH);
    add(createApplyRevertPanel(), BorderLayout.CENTER);
}
Also used : SubPanelUpdatedInterface(com.sldeditor.ui.attribute.SubPanelUpdatedInterface) BorderLayout(java.awt.BorderLayout) DataSourceAttributePanel(com.sldeditor.ui.attribute.DataSourceAttributePanel)

Aggregations

SubPanelUpdatedInterface (com.sldeditor.ui.attribute.SubPanelUpdatedInterface)7 BorderLayout (java.awt.BorderLayout)4 FlowLayout (java.awt.FlowLayout)4 JPanel (javax.swing.JPanel)4 DataSourceAttributePanel (com.sldeditor.ui.attribute.DataSourceAttributePanel)3 JRadioButton (javax.swing.JRadioButton)3 EnvironmentVariableField (com.sldeditor.filter.v2.envvar.EnvironmentVariableField)2 FilterField (com.sldeditor.filter.v2.function.FilterField)1 FunctionField (com.sldeditor.filter.v2.function.FunctionField)1 JLabel (javax.swing.JLabel)1