Package overit.geocall.ui
Interface SingleUseComponent
- All Known Implementing Classes:
Alert,GetUrl,JSCommand,Menu,PostUrl,Ranger,SortableMenu,Tooltip
public interface SingleUseComponent
Interface that must be implemented by all those objects whose creation must be performed each time it is requested
to put one of the objects on screen and not once for all. For this reason they are called "single throw",
because every time, after they have been used, they are eliminated and the next time you want to use the object it is re-created
-
Method Summary
Modifier and TypeMethodDescriptionvoidEvery component can add a script to the StringBuilder, script executed when the component is createdorg.apache.ecs.ElementReturns the html code of the component
-
Method Details
-
getHtml
Returns the html code of the component -
buildSetupScript
Every component can add a script to the StringBuilder, script executed when the component is created- Parameters:
sb- The StringBuilder on which we want to add the script
-