From 14e66f5e15451d1941b179b694221440476279a0 Mon Sep 17 00:00:00 2001 From: LegitCheetah Date: Thu, 1 Feb 2024 00:25:06 +0100 Subject: [PATCH] beginning refactoring with Generic and Div class --- src/main/htmlTags/moduleDiv.java | 8 ++++++++ src/main/htmlTags/moduleGeneric.java | 28 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/main/htmlTags/moduleDiv.java create mode 100644 src/main/htmlTags/moduleGeneric.java diff --git a/src/main/htmlTags/moduleDiv.java b/src/main/htmlTags/moduleDiv.java new file mode 100644 index 0000000..421476f --- /dev/null +++ b/src/main/htmlTags/moduleDiv.java @@ -0,0 +1,8 @@ +package main.htmlTags; + +public class moduleDiv extends moduleGeneric { + + public void tagDiv(){ + + } +} diff --git a/src/main/htmlTags/moduleGeneric.java b/src/main/htmlTags/moduleGeneric.java new file mode 100644 index 0000000..2421010 --- /dev/null +++ b/src/main/htmlTags/moduleGeneric.java @@ -0,0 +1,28 @@ +package main.htmlTags; + +public class moduleGeneric { + + String tag = ""; + int ID; + + + public void addModule(moduleGeneric module){ + + } + + public void setID(int ID) { + this.ID = ID; + } + + public int getID() { + return ID; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public String getTag() { + return tag; + } +}