-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gs-reactor: New Tag GSH2 and css improvements carColorApp
- Loading branch information
Paul Lagarrigue
committed
Aug 19, 2016
1 parent
98d3a9e
commit 1522eea
Showing
7 changed files
with
68 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
gs-reactor/src/main/java/org/genericsystem/reactor/gstag/GSH2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.genericsystem.reactor.gstag; | ||
|
||
import org.genericsystem.reactor.HtmlDomNode; | ||
import org.genericsystem.reactor.gs.GSTag; | ||
|
||
/** | ||
* @author Nicolas Feybesse | ||
* | ||
*/ | ||
public class GSH2 extends GSTag { | ||
|
||
public GSH2(GSTag parent) { | ||
super(parent, "h2"); | ||
} | ||
|
||
public GSH2(GSTag parent, String text) { | ||
super(parent, "h2"); | ||
setText(text); | ||
} | ||
|
||
@Override | ||
protected HtmlDomNode createNode(String parentId) { | ||
return new HtmlDomNode(parentId); | ||
} | ||
|
||
} |