From 6237f1aa5f2bbace6b142c23a4fea63ba0bd16c7 Mon Sep 17 00:00:00 2001 From: LegitCheetah Date: Wed, 13 Mar 2024 18:31:16 +0100 Subject: [PATCH] added more Attributes getter and setter with descriptions and corresponding Enums(unfinished) --- src/main/htmlModules/ModuleComment.java | 3 + src/main/htmlModules/ModuleGeneric.java | 22 ++- src/main/htmlModules/ModuleTag.java | 185 +++++++++++++++++- .../GlobalAttributeDirEnum.java | 15 ++ .../GlobalAttributeDraggableEnum.java | 10 +- .../GlobalAttributeEnterkeyhintEnum.java | 19 ++ 6 files changed, 235 insertions(+), 19 deletions(-) create mode 100644 src/main/htmlModules/attributeEnums/GlobalAttributeDirEnum.java create mode 100644 src/main/htmlModules/attributeEnums/GlobalAttributeEnterkeyhintEnum.java diff --git a/src/main/htmlModules/ModuleComment.java b/src/main/htmlModules/ModuleComment.java index 99594db..a6ebf73 100644 --- a/src/main/htmlModules/ModuleComment.java +++ b/src/main/htmlModules/ModuleComment.java @@ -8,6 +8,9 @@ public class ModuleComment extends ModuleGeneric { @Override public StringBuilder build() { StringBuilder output = new StringBuilder(); + if (!singleLine){ + output.append("\n"); + } output .append("