com.bradrydzewski.gwt.calendar.client.util
Class FormattingUtil
java.lang.Object
com.bradrydzewski.gwt.calendar.client.util.FormattingUtil
public class FormattingUtil
- extends Object
This utility provides access to data to help format widgets
correctly across browsers.
- Author:
- Brad Rydzewski
|
Method Summary |
static int |
getBorderOffset()
All CSS2 compliant browsers count the border height in the
overall height of an Element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormattingUtil
public FormattingUtil()
getBorderOffset
public static int getBorderOffset()
- All CSS2 compliant browsers count the border height in the
overall height of an Element. This method returns an offset
value that should be added to the height or width of an item
before setting its size. This will ensure consistent sizing
across compliant and non-compliant browsers.
- Returns:
Copyright © 2012. All Rights Reserved.