本文整理了Java中com.vaadin.v7.ui.TextField.setVisible()
方法的一些代码示例,展示了TextField.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextField.setVisible()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.TextField
类名称:TextField
方法名:setVisible
暂无
代码示例来源:origin: OpenNMS/opennms
alarmDataReductionKey.setVisible(enable);
alarmDataClearKey.setVisible(enable);
if (enable) {
if (getEvent().getAlarmData() == null) {
代码示例来源:origin: OpenNMS/opennms
m_reductionKeyComponent.setId("reductionKeyField");
m_reductionKeyComponent.setWidth(100.0f, Unit.PERCENTAGE);
m_reductionKeyComponent.setVisible(false);
m_reductionKeyComponent.setImmediate(true);
m_reductionKeyComponent.setValidationVisible(true);
m_friendlyNameField.setId("friendlyNameField");
m_friendlyNameField.setWidth(100.0f, Unit.PERCENTAGE);
m_friendlyNameField.setVisible(false);
m_friendlyNameField.setImmediate(true);
m_friendlyNameField.setValidationVisible(true);
m_ipServiceComponent.setVisible(m_typeSelect.getValue() == EdgeType.IP_SERVICE);
m_ipServiceComponent.setRequired(m_typeSelect.getValue() == EdgeType.IP_SERVICE);
m_reductionKeyComponent.setVisible(m_typeSelect.getValue() == EdgeType.REDUCTION_KEY);
m_reductionKeyComponent.setRequired(m_typeSelect.getValue() == EdgeType.REDUCTION_KEY);
m_applicationComponent.setVisible(m_typeSelect.getValue() == EdgeType.APPLICATION);
m_applicationComponent.setRequired(m_typeSelect.getValue() == EdgeType.APPLICATION);
m_friendlyNameField.setVisible(m_typeSelect.getValue() == EdgeType.REDUCTION_KEY || m_typeSelect.getValue() == EdgeType.IP_SERVICE);
});
代码示例来源:origin: OpenNMS/opennms
alarmDataReductionKey.setVisible(false);
alarmDataReductionKey.setRequired(true);
eventLayout.addComponent(alarmDataReductionKey);
alarmDataClearKey.setVisible(false);
eventLayout.addComponent(alarmDataClearKey);
内容来源于网络,如有侵权,请联系作者删除!