com.sencha.gxt.theme.base.client.tips
Class TipDefaultAppearance

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.tips.TipDefaultAppearance
All Implemented Interfaces:
Tip.TipAppearance
Direct Known Subclasses:
ErrorTipDefaultAppearance

public class TipDefaultAppearance
extends java.lang.Object
implements Tip.TipAppearance


Nested Class Summary
static interface TipDefaultAppearance.TipDefaultTemplate
           
static interface TipDefaultAppearance.TipDivFrameResources
           
static interface TipDefaultAppearance.TipNestedDivFrameStyle
           
static interface TipDefaultAppearance.TipResources
           
static interface TipDefaultAppearance.TipStyle
           
 
Constructor Summary
TipDefaultAppearance()
           
TipDefaultAppearance(TipDefaultAppearance.TipResources resources)
           
TipDefaultAppearance(TipDefaultAppearance.TipResources resources, TipDefaultAppearance.TipDefaultTemplate template)
           
 
Method Summary
 void applyAnchorDirectionStyle(XElement anchorEl, Style.Side anchor)
           
 void applyAnchorStyle(XElement anchorEl)
           
 int autoWidth(XElement parent, int minWidth, int maxWidth)
           
 XElement getHeaderElement(XElement parent)
           
 XElement getTextElement(XElement parent)
           
 XElement getToolsElement(XElement parent)
           
 void removeAnchorStyle(XElement anchorEl)
           
 void render(SafeHtmlBuilder sb)
           
 void updateContent(XElement parent, java.lang.String heading, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TipDefaultAppearance

public TipDefaultAppearance()

TipDefaultAppearance

public TipDefaultAppearance(TipDefaultAppearance.TipResources resources)

TipDefaultAppearance

public TipDefaultAppearance(TipDefaultAppearance.TipResources resources,
                            TipDefaultAppearance.TipDefaultTemplate template)
Method Detail

applyAnchorDirectionStyle

public void applyAnchorDirectionStyle(XElement anchorEl,
                                      Style.Side anchor)
Specified by:
applyAnchorDirectionStyle in interface Tip.TipAppearance

applyAnchorStyle

public void applyAnchorStyle(XElement anchorEl)
Specified by:
applyAnchorStyle in interface Tip.TipAppearance

getHeaderElement

public XElement getHeaderElement(XElement parent)

getTextElement

public XElement getTextElement(XElement parent)
Specified by:
getTextElement in interface Tip.TipAppearance

getToolsElement

public XElement getToolsElement(XElement parent)
Specified by:
getToolsElement in interface Tip.TipAppearance

removeAnchorStyle

public void removeAnchorStyle(XElement anchorEl)
Specified by:
removeAnchorStyle in interface Tip.TipAppearance

render

public void render(SafeHtmlBuilder sb)
Specified by:
render in interface Tip.TipAppearance

autoWidth

public int autoWidth(XElement parent,
                     int minWidth,
                     int maxWidth)
Specified by:
autoWidth in interface Tip.TipAppearance

updateContent

public void updateContent(XElement parent,
                          java.lang.String heading,
                          java.lang.String text)
Specified by:
updateContent in interface Tip.TipAppearance


Copyright © 2012. All Rights Reserved.