org.itsnat.comp.label
Interface ItsNatLabelUI

All Superinterfaces:
ItsNatComponentUI, ItsNatElementComponentUI

public interface ItsNatLabelUI
extends ItsNatElementComponentUI

Is the base interface of the User Interface of a label component.

The the current label renderer is used.

Current implementation relays heavily on ElementLabel.

Author:
Jose Maria Arranz Santamaria
See Also:
ItsNatLabel.getItsNatLabelUI(), ItsNatLabel.getItsNatLabelRenderer()

Method Summary
 ItsNatLabel getItsNatLabel()
          Returns the associated component object.
 boolean hasLabelMarkup()
          Informs whether this label contains markup.
 boolean isUsePatternMarkupToRender()
          Informs whether the original (saved as pattern) markup is used to render.
 void setUsePatternMarkupToRender(boolean value)
          Sets whether the original (saved as pattern) markup is used to render.
 
Methods inherited from interface org.itsnat.comp.ItsNatElementComponentUI
getItsNatElementComponent
 
Methods inherited from interface org.itsnat.comp.ItsNatComponentUI
getItsNatComponent
 

Method Detail

getItsNatLabel

ItsNatLabel getItsNatLabel()
Returns the associated component object.

Returns:
the component object.

hasLabelMarkup

boolean hasLabelMarkup()
Informs whether this label contains markup.

Returns:
true if this label contains markup.

isUsePatternMarkupToRender

boolean isUsePatternMarkupToRender()
Informs whether the original (saved as pattern) markup is used to render.

The default value is defined by ItsNatDocument.isUsePatternMarkupToRender()

Returns:
true if the original markup is used.
See Also:
setUsePatternMarkupToRender(boolean)

setUsePatternMarkupToRender

void setUsePatternMarkupToRender(boolean value)
Sets whether the original (saved as pattern) markup is used to render.

Parameters:
value - true to enable the use of original markup to render.
See Also:
isUsePatternMarkupToRender()


Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.