All Known Subinterfaces:
BadgeTagDeclaration, BarTagDeclaration, BoxTagDeclaration, ButtonsTagDeclaration, ButtonTagDeclaration, ColumnNodeTagDeclaration, ColumnSelectorTagDeclaration, ColumnTagDeclaration, DateTagDeclaration, FigureTagDeclaration, FileTagDeclaration, FlexLayoutTagDeclaration, FlowLayoutTagDeclaration, FooterTagDeclaration, FormTagDeclaration, GridLayoutTagDeclaration, HeaderTagDeclaration, ImageTagDeclaration, InTagDeclaration, LabelTagDeclaration, LinksTagDeclaration, LinkTagDeclaration, MessagesTagDeclaration, ObjectTagDeclaration, OutTagDeclaration, PageTagDeclaration, PanelTagDeclaration, PopupTagDeclaration, ProgressTagDeclaration, RangeTagDeclaration, RowTagDeclaration, SectionTagDeclaration, SegmentLayoutTagDeclaration, SelectBooleanCheckboxTagDeclaration, SelectBooleanToggleTagDeclaration, SelectItemTagDeclaration, SelectManyCheckboxTagDeclaration, SelectManyListboxTagDeclaration, SelectManyShuttleTagDeclaration, SelectOneChoiceTagDeclaration, SelectOneListboxTagDeclaration, SelectOneRadioTagDeclaration, SeparatorTagDeclaration, SheetPageCommandTagDeclaration, SheetTagDeclaration, SplitLayoutTagDeclaration, StarsTagDeclaration, TabGroupTagDeclaration, TabTagDeclaration, TextareaTagDeclaration, TreeIconTagDeclaration, TreeIndentTagDeclaration, TreeLabelTagDeclaration, TreeListboxTagDeclaration, TreeNodeTagDeclaration, TreeSelectTagDeclaration, TreeTagDeclaration

public interface IsVisual
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setCustomClass(String customClass)
    Sets a CSS class in its parent, if the parent supports it.
    void
    setMarkup(String markup)
    Indicate markup of this component.
  • Method Details

    • setCustomClass

      void setCustomClass(String customClass)
      Sets a CSS class in its parent, if the parent supports it. Which this feature it is possible to put a CSS class name into a component with the <tc:style> tag. Example:
       <tc:in>
         <tc:style customClass="my-emphasized"/>
       </tc:in>
       
      One capability is, to used external CSS libs.
      This feature should not be used imprudent. Because it might be unstable against changes in the renderered HTML code.
    • setMarkup

      void setMarkup(String markup)
      Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer.