public AbstractField<String> getComponent(CriteriaBuilderHelper criteriaBuilderHelper) { TextField textField = new TextField(); textField.setCaption("Value"); textField.setStyleName("small"); textField.setDescription("Value"); return textField; } },
public AbstractField<String> getComponent(CriteriaBuilderHelper criteriaBuilderHelper) { TextField textField = new TextField(); textField.setCaption("Text value"); textField.setStyleName("small"); textField.setDescription("Text value"); return textField; } },
public AbstractField<String> getComponent(CriteriaBuilderHelper criteriaBuilderHelper) { TextField textField = new TextField(); textField.setCaption("Integer value"); textField.setStyleName("small"); textField.setDescription("Integer value"); return textField; } };
private Field<String> createKeyLengthTextField() { String caption = i18n.translate("key.length"); final TextField field = new TextField(caption); field.setDescription(caption); field.setMaxLength(4); field.setRequired(true); field.addStyleName("required"); field.setWidth(100, Unit.PERCENTAGE); // force plain input field.setColumns(0); return field; }
m_widthField.setDescription("Width of graphs"); m_widthField.setValue(m_dashletSpec.getParameters().get("width")); m_heightField.setDescription("Height of graphs"); m_heightField.setValue(m_dashletSpec.getParameters().get("height")); m_timeFrameValue.setDescription("Timeframe value"); m_timeFrameValue.setValue(m_dashletSpec.getParameters().get("timeFrameValue"));
userField.setCaption("User"); userField.setNullRepresentation(""); userField.setDescription("Username for JMX-RMI Authentication"); serviceNameField.addValidator(new RegexpValidator("^[A-Za-z0-9_-]+$", "You must specify a valid name. Allowed characters: (A-Za-z0-9_-)")); serviceNameField.setDescription("The service name of the JMX data collection config, e.g. cassandra, jboss, tomcat"); connectionTextField.setRequired(true); connectionTextField.setRequiredError("required"); connectionTextField.setDescription("The JMX connection string, e.g.: <hostname>:<port> OR service:jmx:<protocol>:<sap>");
timeRangeFrom.setDescription("Start of time range to be displayed"); timeRangeFrom.setImmediate(true); timeRangeFrom.setWidth("60%"); timeRangeTo.setDescription("End of time range to be displayed"); timeRangeTo.setImmediate(true); timeRangeTo.setWidth("60%");
priorityField.setImmediate(true); priorityField.setCaption("Priority"); priorityField.setDescription("Priority of this dashlet"); boostPriorityField.setImmediate(true); boostPriorityField.setCaption("Boost-Priority"); boostPriorityField.setDescription("Boost priority of this dashlet"); durationField.setImmediate(true); durationField.setCaption("Duration"); durationField.setDescription("Duration for this dashlet"); boostDurationField.setImmediate(true); boostDurationField.setCaption("Boost-Duration"); boostDurationField.setDescription("Boost duration for this dashlet"); m_titleField.setImmediate(true); m_titleField.setCaption("Title"); m_titleField.setDescription("Title for this dashlet instance");
labelField.setImmediate(true); labelField.setCaption("Label"); labelField.setDescription("Label of this category"); labelField.setWidth(100, Unit.PERCENTAGE);
titleField.setDescription("Title for this Ops Board configuration"); titleField.setValue(wallboard.getTitle()); titleField.setImmediate(true);
titleField.setImmediate(true); titleField.setCaption("Title"); titleField.setDescription("Title of this surveillance view"); titleField.setWidth(25, Unit.PERCENTAGE); refreshSecondsField.setImmediate(true); refreshSecondsField.setCaption("Refresh seconds"); refreshSecondsField.setDescription("Refresh duration in seconds");