beginning refactoring with Generic and Div class
This commit is contained in:
parent
a8e1924175
commit
14e66f5e15
8
src/main/htmlTags/moduleDiv.java
Normal file
8
src/main/htmlTags/moduleDiv.java
Normal file
@ -0,0 +1,8 @@
|
||||
package main.htmlTags;
|
||||
|
||||
public class moduleDiv extends moduleGeneric {
|
||||
|
||||
public void tagDiv(){
|
||||
|
||||
}
|
||||
}
|
28
src/main/htmlTags/moduleGeneric.java
Normal file
28
src/main/htmlTags/moduleGeneric.java
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user