-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from BorderTech/futher_implementations
Futher implementations
- Loading branch information
Showing
20 changed files
with
394 additions
and
27 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...riends-api/src/main/java/com/github/bordertech/webfriends/api/common/tags/TagCaption.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,19 @@ | ||
package com.github.bordertech.webfriends.api.common.tags; | ||
|
||
import com.github.bordertech.webfriends.api.common.tag.TagType; | ||
import com.github.bordertech.webfriends.api.element.table.HCaption; | ||
|
||
/** | ||
* HTML <code>caption</code> tag. | ||
* | ||
* @param <T> the element type | ||
* | ||
*/ | ||
public interface TagCaption<T extends HCaption> extends TagType<T> { | ||
|
||
@Override | ||
default String getTagName() { | ||
return "caption"; | ||
} | ||
|
||
} |
17 changes: 17 additions & 0 deletions
17
...riends-api/src/main/java/com/github/bordertech/webfriends/api/common/tags/TagDetails.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,17 @@ | ||
package com.github.bordertech.webfriends.api.common.tags; | ||
|
||
import com.github.bordertech.webfriends.api.common.tag.TagType; | ||
import com.github.bordertech.webfriends.api.element.grouping.HDetails; | ||
|
||
/** | ||
* HTML <code>details</code> tag. | ||
* | ||
* @param <T> the element type | ||
*/ | ||
public interface TagDetails<T extends HDetails> extends TagType<T> { | ||
|
||
@Override | ||
default String getTagName() { | ||
return "details"; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...riends-api/src/main/java/com/github/bordertech/webfriends/api/common/tags/TagSummary.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,17 @@ | ||
package com.github.bordertech.webfriends.api.common.tags; | ||
|
||
import com.github.bordertech.webfriends.api.common.tag.TagType; | ||
import com.github.bordertech.webfriends.api.element.grouping.HSummary; | ||
|
||
/** | ||
* HTML <code>summary</code> tag. | ||
* | ||
* @param <T> the element type | ||
*/ | ||
public interface TagSummary<T extends HSummary> extends TagType<T> { | ||
|
||
@Override | ||
default String getTagName() { | ||
return "summary"; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...nds-api/src/main/java/com/github/bordertech/webfriends/api/element/grouping/HDetails.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,15 @@ | ||
package com.github.bordertech.webfriends.api.element.grouping; | ||
|
||
import com.github.bordertech.webfriends.api.common.combo.FlowPalpableElement; | ||
import com.github.bordertech.webfriends.api.common.model.ScriptSupportingModel; | ||
import com.github.bordertech.webfriends.api.common.tags.TagDetails; | ||
|
||
/** | ||
* Details element. | ||
*/ | ||
public interface HDetails extends FlowPalpableElement, ScriptSupportingModel { | ||
|
||
@Override | ||
TagDetails getTagType(); | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...nds-api/src/main/java/com/github/bordertech/webfriends/api/element/grouping/HSummary.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,15 @@ | ||
package com.github.bordertech.webfriends.api.element.grouping; | ||
|
||
import com.github.bordertech.webfriends.api.common.combo.FlowPalpableElement; | ||
import com.github.bordertech.webfriends.api.common.model.ScriptSupportingModel; | ||
import com.github.bordertech.webfriends.api.common.tags.TagSummary; | ||
|
||
/** | ||
* Summary element. | ||
*/ | ||
public interface HSummary extends FlowPalpableElement, ScriptSupportingModel { | ||
|
||
@Override | ||
TagSummary getTagType(); | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
...riends-api/src/main/java/com/github/bordertech/webfriends/api/element/table/HCaption.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,14 @@ | ||
package com.github.bordertech.webfriends.api.element.table; | ||
|
||
import com.github.bordertech.webfriends.api.common.combo.FlowPalpableWithPhrasingElement; | ||
import com.github.bordertech.webfriends.api.common.tags.TagCaption; | ||
|
||
/** | ||
* Caption element. | ||
*/ | ||
public interface HCaption extends FlowPalpableWithPhrasingElement { | ||
|
||
@Override | ||
TagCaption getTagType(); | ||
|
||
} |
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
18 changes: 18 additions & 0 deletions
18
...ents/src/main/java/com/github/bordertech/webfriends/selenium/common/tags/STagCaption.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,18 @@ | ||
package com.github.bordertech.webfriends.selenium.common.tags; | ||
|
||
import com.github.bordertech.webfriends.api.common.tags.TagCaption; | ||
import com.github.bordertech.webfriends.selenium.element.table.SCaption; | ||
|
||
/** | ||
* HTML <code>caption</code> tag. | ||
*/ | ||
public class STagCaption extends AbstractTag<SCaption> implements TagCaption<SCaption> { | ||
|
||
/** | ||
* Default constructor. | ||
*/ | ||
public STagCaption() { | ||
super(SCaption.class); | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...ents/src/main/java/com/github/bordertech/webfriends/selenium/common/tags/STagDetails.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,18 @@ | ||
package com.github.bordertech.webfriends.selenium.common.tags; | ||
|
||
import com.github.bordertech.webfriends.api.common.tags.TagDetails; | ||
import com.github.bordertech.webfriends.selenium.element.grouping.SDetails; | ||
|
||
/** | ||
* HTML <code>details</code> tag. | ||
*/ | ||
public class STagDetails extends AbstractTag<SDetails> implements TagDetails<SDetails> { | ||
|
||
/** | ||
* Default constructor. | ||
*/ | ||
public STagDetails() { | ||
super(SDetails.class); | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...ents/src/main/java/com/github/bordertech/webfriends/selenium/common/tags/STagSummary.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,18 @@ | ||
package com.github.bordertech.webfriends.selenium.common.tags; | ||
|
||
import com.github.bordertech.webfriends.api.common.tags.TagSummary; | ||
import com.github.bordertech.webfriends.selenium.element.grouping.SSummary; | ||
|
||
/** | ||
* HTML <code>summary</code> tag. | ||
*/ | ||
public class STagSummary extends AbstractTag<SSummary> implements TagSummary<SSummary> { | ||
|
||
/** | ||
* Default constructor. | ||
*/ | ||
public STagSummary() { | ||
super(SSummary.class); | ||
} | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
...ts/src/main/java/com/github/bordertech/webfriends/selenium/element/grouping/SDetails.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,23 @@ | ||
package com.github.bordertech.webfriends.selenium.element.grouping; | ||
|
||
import com.github.bordertech.webfriends.api.element.grouping.HDetails; | ||
import com.github.bordertech.webfriends.selenium.common.feature.ContainerWithButtons; | ||
import com.github.bordertech.webfriends.selenium.common.feature.ContainerWithChildren; | ||
import com.github.bordertech.webfriends.selenium.common.tag.SeleniumTags; | ||
import com.github.bordertech.webfriends.selenium.common.tags.STagDetails; | ||
import com.github.bordertech.webfriends.selenium.element.AbstractSElement; | ||
|
||
/** | ||
* Selenium details element. | ||
*/ | ||
public class SDetails extends AbstractSElement implements HDetails, | ||
ContainerWithChildren, ContainerWithButtons { | ||
|
||
@Override | ||
public STagDetails getTagType() { | ||
return SeleniumTags.DETAILS; | ||
} | ||
|
||
|
||
|
||
} |
21 changes: 21 additions & 0 deletions
21
...ts/src/main/java/com/github/bordertech/webfriends/selenium/element/grouping/SSummary.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,21 @@ | ||
package com.github.bordertech.webfriends.selenium.element.grouping; | ||
|
||
import com.github.bordertech.webfriends.api.element.grouping.HSummary; | ||
import com.github.bordertech.webfriends.selenium.common.feature.ContainerWithButtons; | ||
import com.github.bordertech.webfriends.selenium.common.feature.ContainerWithChildren; | ||
import com.github.bordertech.webfriends.selenium.common.tag.SeleniumTags; | ||
import com.github.bordertech.webfriends.selenium.common.tags.STagSummary; | ||
import com.github.bordertech.webfriends.selenium.element.AbstractSElement; | ||
|
||
/** | ||
* Selenium summary element. | ||
*/ | ||
public class SSummary extends AbstractSElement implements HSummary, | ||
ContainerWithChildren, ContainerWithButtons { | ||
|
||
@Override | ||
public STagSummary getTagType() { | ||
return SeleniumTags.SUMMARY; | ||
} | ||
|
||
} |
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
18 changes: 18 additions & 0 deletions
18
...ments/src/main/java/com/github/bordertech/webfriends/selenium/element/table/SCaption.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,18 @@ | ||
package com.github.bordertech.webfriends.selenium.element.table; | ||
|
||
import com.github.bordertech.webfriends.api.element.table.HCaption; | ||
import com.github.bordertech.webfriends.selenium.common.tag.SeleniumTags; | ||
import com.github.bordertech.webfriends.selenium.common.tags.STagCaption; | ||
import com.github.bordertech.webfriends.selenium.element.AbstractSElement; | ||
|
||
/** | ||
* Selenium Caption element. | ||
*/ | ||
public class SCaption extends AbstractSElement implements HCaption { | ||
|
||
@Override | ||
public STagCaption getTagType() { | ||
return SeleniumTags.CAPTION; | ||
} | ||
|
||
} |
Oops, something went wrong.