diff options
Diffstat (limited to 'src/com/vaadin/terminal/PaintTarget.java')
-rw-r--r-- | src/com/vaadin/terminal/PaintTarget.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/PaintTarget.java b/src/com/vaadin/terminal/PaintTarget.java index a457dd4d1d..725d82dcab 100644 --- a/src/com/vaadin/terminal/PaintTarget.java +++ b/src/com/vaadin/terminal/PaintTarget.java @@ -390,4 +390,11 @@ public interface PaintTarget extends Serializable { void addCharacterData(String text) throws PaintException; public void addAttribute(String string, Object[] keys); + + /** + * @return the "tag" string used in communication to present given + * {@link Paintable} type. Terminal may define how to present + * paintable. + */ + public String getTag(Paintable paintable); } |