net.sf.jasperreports.engine.util

## Class StyleUtil

- java.lang.Object
- - net.sf.jasperreports.engine.util.StyleUtil

-     public final class StyleUtil
      extends java.lang.Object

  Version:
    $Id: StyleUtil.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `hasBorder(JRBoxContainer boxContainer, net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector selector)`
    `boolean` | `hasBox(JRBoxContainer boxContainer)`
    `protected boolean` | `hasPadding(JRBoxContainer boxContainer, net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector penSelector)`
    `static StyleUtil` | `instance()`
    `ModeEnum` | `resolveElementMode(JRElement element)`
    `ModeEnum` | `resolveMode(JRStyleContainer styleContainer)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### instance

          public static StyleUtil instance()

    - #### resolveMode

          public ModeEnum resolveMode(JRStyleContainer styleContainer)

    - #### resolveElementMode

          public ModeEnum resolveElementMode(JRElement element)

    - #### hasBox

          public boolean hasBox(JRBoxContainer boxContainer)

    - #### hasBorder

          protected boolean hasBorder(JRBoxContainer boxContainer,
                          net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector selector)

    - #### hasPadding

          protected boolean hasPadding(JRBoxContainer boxContainer,
                           net.sf.jasperreports.engine.util.StyleUtil.BoxSideSelector penSelector)

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com