All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.citytechinc.cq.component.touchuidialog.widget.selection.options.Option Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package com.citytechinc.cq.component.touchuidialog.widget.selection.options;

import com.citytechinc.cq.component.touchuidialog.AbstractTouchUIDialogElement;

public class Option extends AbstractTouchUIDialogElement {

	private final String name;
	private final String text;
	private final String value;
	private final boolean selected;

	public Option(OptionParameters parameters) {
		super(parameters);

		name = parameters.getName();
		text = parameters.getText();
		value = parameters.getValue();
		selected = parameters.isSelected();
	}

	public String getName() {
		return name;
	}

	public String getText() {
		return text;
	}

	public String getValue() {
		return value;
	}

	public boolean isSelected() {
		return selected;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy