added Attributes (unfinished)
This commit is contained in:
parent
36e2248ab3
commit
076d17be2e
@ -12,12 +12,12 @@ public class ModuleGeneric {
|
|||||||
protected String comment;
|
protected String comment;
|
||||||
protected List<ModuleGeneric> content = new ArrayList<>();
|
protected List<ModuleGeneric> content = new ArrayList<>();
|
||||||
|
|
||||||
//Global Attributes
|
//Global Attributes-------------------------------------------------------------------------------------------------
|
||||||
protected char accessKey;
|
protected char accessKey;
|
||||||
protected String styleClass;
|
protected String styleClass;
|
||||||
protected Boolean contentEditable;
|
protected Boolean contentEditable;
|
||||||
protected String dataPrefix;
|
protected String dataPrefix; //used with dataValue
|
||||||
protected String dataValue;
|
protected String dataValue; //used with dataPrefix
|
||||||
protected String dir;
|
protected String dir;
|
||||||
protected Enum draggable;
|
protected Enum draggable;
|
||||||
protected String enterKeyHint;
|
protected String enterKeyHint;
|
||||||
@ -26,17 +26,35 @@ public class ModuleGeneric {
|
|||||||
protected boolean inert;
|
protected boolean inert;
|
||||||
protected Enum inputMethod;
|
protected Enum inputMethod;
|
||||||
protected Enum lang;
|
protected Enum lang;
|
||||||
protected boolean popOver;
|
protected boolean popOver; //used with id & needs popovertarget on another tag
|
||||||
protected String popOverTaret;
|
protected String popOverTaret; //needs id with the same name & popover on another tag
|
||||||
protected Boolean spellcheck;
|
protected Boolean spellCheck;
|
||||||
protected HashMap style;
|
protected HashMap style;
|
||||||
protected int tabIndex;
|
protected int tabIndex;
|
||||||
protected String title;
|
protected String title;
|
||||||
protected Boolean translate;
|
protected Boolean translate;
|
||||||
|
|
||||||
//
|
//Specific Attributes-----------------------------------------------------------------------------------------------
|
||||||
|
//<input>
|
||||||
|
protected String accept; //used with type="file" //custom or Enum
|
||||||
|
protected String alt; //used with type="image"
|
||||||
|
protected Enum autoComplete; //Enum
|
||||||
|
protected Boolean autoFocus;
|
||||||
|
protected boolean checked; //used with type="checkbox" or type="radio"
|
||||||
|
protected boolean dirname; //used with name="<value>" -> dirname="<value.dir>"
|
||||||
|
protected boolean disabled;
|
||||||
|
protected String form; //needs formID
|
||||||
|
protected String formAction; //used with type="submit" or type="image"
|
||||||
|
protected Enum formenctype; //used with type="submit" or type="image"
|
||||||
|
protected Enum formmethod; //used with type="submit" or type="image"
|
||||||
|
protected boolean formNoValidate; //used with type="submit"
|
||||||
|
protected Enum formTarget; //or custom //use with type="submit" or type="image"
|
||||||
|
|
||||||
|
|
||||||
|
//form
|
||||||
|
protected String acceptCharset;
|
||||||
|
protected String action;
|
||||||
|
|
||||||
public StringBuilder build(){
|
public StringBuilder build(){
|
||||||
StringBuilder buildString = new StringBuilder();
|
StringBuilder buildString = new StringBuilder();
|
||||||
buildString
|
buildString
|
||||||
|
@ -28,6 +28,8 @@ public class SiteGeneric extends ModuleTag {
|
|||||||
addModule(this.body);
|
addModule(this.body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public StringBuilder build() {
|
public StringBuilder build() {
|
||||||
StringBuilder buildString = new StringBuilder();
|
StringBuilder buildString = new StringBuilder();
|
||||||
|
Loading…
Reference in New Issue
Block a user