Class MultiLineLabel

    • Constructor Detail

      • MultiLineLabel

        public MultiLineLabel​(String id)
        Constructor. Same as Label(String).
        Parameters:
        id - See Component
        See Also:
        Label(String)
      • MultiLineLabel

        public MultiLineLabel​(String id,
                              String label)
        Convenience constructor. Same as MultiLineLabel(String, new Modell<String>(String))
        Parameters:
        id - See Component
        label - The label text
        See Also:
        Component(String, IModel)
    • Method Detail

      • onComponentTagBody

        public void onComponentTagBody​(MarkupStream markupStream,
                                       ComponentTag openTag)
        Description copied from class: Component
        Processes the body.
        Overrides:
        onComponentTagBody in class Component
        Parameters:
        markupStream - The markup stream
        openTag - The open tag for the body
      • onComponentTag

        protected void onComponentTag​(ComponentTag tag)
        Description copied from class: Component
        Processes the component tag. Overrides of this method most likely should call the super implementation.
        Overrides:
        onComponentTag in class Component
        Parameters:
        tag - Tag to modify