/** * Height in pixels of the icon image. <P> If unset, defaults to <code>iconSize</code> * * * @return Integer * @see com.smartgwt.client.docs.ButtonIcon ButtonIcon overview and related methods */ public Integer getIconHeight() { return getAttributeAsInt("iconHeight"); }
/** * Horizontal padding to be applied to this widget's label. If this value is null, the label will be given a horizontal * padding of zero. <p> The specified amount of padding is applied to the left and right edges of the button, so the total * amount of padding is 2x the specified value. * * * @return Integer */ public Integer getLabelHPad() { return getAttributeAsInt("labelHPad"); }
/** * Pixels between icon and title text. * * * @return int * @see com.smartgwt.client.docs.ButtonIcon ButtonIcon overview and related methods */ public int getIconSpacing() { return getAttributeAsInt("iconSpacing"); }
/** * Width in pixels of the icon image. <P> If unset, defaults to <code>iconSize</code> * * * @return Integer * @see com.smartgwt.client.docs.ButtonIcon ButtonIcon overview and related methods */ public Integer getIconWidth() { return getAttributeAsInt("iconWidth"); }
/** * Size in pixels of the icon image. <P> The <code>iconWidth</code> and <code>iconHeight</code> properties can be used to * configure width and height separately. * * * @return int * @see com.smartgwt.client.docs.ButtonIcon ButtonIcon overview and related methods */ public int getIconSize() { return getAttributeAsInt("iconSize"); }
/** * Vertical padding to be applied to this widget's label. If this value is null, the label will be given a vertial padding * of zero. <p> The specified amount of padding is applied to the top and bottom edges of the button, so the total amount * of padding is 2x the specified value. * * * @return Integer */ public Integer getLabelVPad() { return getAttributeAsInt("labelVPad"); }