
org.structr.web.entity.html.Input Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structr-ui Show documentation
Show all versions of structr-ui Show documentation
Structr is an open source framework based on the popular Neo4j graph database.
The newest version!
/**
* Copyright (C) 2010-2016 Structr GmbH
*
* This file is part of Structr .
*
* Structr is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Structr is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Structr. If not, see .
*/
package org.structr.web.entity.html;
import org.structr.web.entity.dom.DOMElement;
import org.apache.commons.lang3.ArrayUtils;
import org.structr.core.property.Property;
import org.structr.common.PropertyView;
import org.structr.common.View;
import org.structr.web.common.HtmlProperty;
//~--- classes ----------------------------------------------------------------
/**
*
*/
public class Input extends DOMElement {
public static final Property _accept = new HtmlProperty("accept");
public static final Property _alt = new HtmlProperty("alt");
public static final Property _autocomplete = new HtmlProperty("autocomplete");
public static final Property _autofocus = new HtmlProperty("autofocus");
public static final Property _checked = new HtmlProperty("checked");
public static final Property _dirname = new HtmlProperty("dirname");
public static final Property _disabled = new HtmlProperty("disabled");
public static final Property _form = new HtmlProperty("form");
public static final Property _formaction = new HtmlProperty("formaction");
public static final Property _formenctype = new HtmlProperty("formenctype");
public static final Property _formmethod = new HtmlProperty("formmethod");
public static final Property _formnovalidate = new HtmlProperty("formnovalidate");
public static final Property _formtarget = new HtmlProperty("formtarget");
public static final Property _height = new HtmlProperty("height");
public static final Property _list = new HtmlProperty("list");
public static final Property _max = new HtmlProperty("max");
public static final Property _maxlength = new HtmlProperty("maxlength");
public static final Property _min = new HtmlProperty("min");
public static final Property _multiple = new HtmlProperty("multiple");
public static final Property _name = new HtmlProperty("name");
public static final Property _pattern = new HtmlProperty("pattern");
public static final Property _placeholder = new HtmlProperty("placeholder");
public static final Property _readonly = new HtmlProperty("readonly");
public static final Property _required = new HtmlProperty("required");
public static final Property _size = new HtmlProperty("size");
public static final Property _src = new HtmlProperty("src");
public static final Property _step = new HtmlProperty("step");
public static final Property _type = new HtmlProperty("type");
public static final Property _value = new HtmlProperty("value");
public static final Property _width = new HtmlProperty("width");
//public static final Property> forms = new StartNodes<>("forms", FormInput.class);
public static final View htmlView = new View(Input.class, PropertyView.Html,
_accept, _alt, _autocomplete, _autofocus, _checked, _dirname, _disabled, _form, _formaction, _formenctype, _formmethod,
_formnovalidate, _formtarget, _height, _list, _max, _maxlength, _min, _multiple, _name, _pattern, _placeholder,
_readonly, _required, _size, _src, _step, _type, _value, _width
);
//~--- get methods ----------------------------------------------------
@Override
public boolean isVoidElement() {
return true;
}
@Override
public Property[] getHtmlAttributes() {
return (Property[]) ArrayUtils.addAll(super.getHtmlAttributes(), htmlView.properties());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy