beginning refactoring with Generic and Div class

This commit is contained in:
LegitCheetah 2024-02-01 00:25:06 +01:00
parent a8e1924175
commit 14e66f5e15
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,8 @@
package main.htmlTags;
public class moduleDiv extends moduleGeneric {
public void tagDiv(){
}
}

View File

@ -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;
}
}