net.infonode.tabbedpanel.theme.internal.laftheme

Class PaneUI

public class PaneUI extends Object

Constructor Summary
PaneUI(PaneUIListener listener)
Method Summary
voiddispose()
InsetsgetContentInsets(Direction d, boolean tabAreaVisible)
ColorgetContentTabAreaBorderColor(Direction d)
FontgetFont()
InsetsgetNormalInsets(Direction d)
InsetsgetNormalTabInsets(Direction areaOrientation, Direction tabDirection)
intgetScrollOffset()
InsetsgetSelectedInsets(Direction d)
intgetSelectedRaised(Direction d)
InsetsgetSelectedTabInsets(Direction areaOrientation, Direction tabDirection)
InsetsgetTabAreaInsets(Direction d)
DimensiongetTabExternalMinSize(Direction d)
InsetsgetTabInsets(Direction d)
intgetTabSpacing(Direction d)
intgetTabSpacing()
intgetTextIconGap()
voidinit()
booleanisContentOpaque()
booleanisOpaque()
booleanisSwapWidthHeight(Direction d)
booleanisTabAreaComponentsOpaque()
booleanisTabAreaOpaque()
voidpaintContentArea(TabbedPanelContentPanel p, Graphics g, int x, int y, int width, int height)
voidpaintTabArea(TabbedPanel tp, Graphics g, int x, int y, int width, int height)
voidsetEnabled(boolean enabled)
voidsetHoveredTab(Tab tab)

Constructor Detail

PaneUI

public PaneUI(PaneUIListener listener)

Method Detail

dispose

public void dispose()

getContentInsets

public Insets getContentInsets(Direction d, boolean tabAreaVisible)

getContentTabAreaBorderColor

public Color getContentTabAreaBorderColor(Direction d)

getFont

public Font getFont()

getNormalInsets

public Insets getNormalInsets(Direction d)

getNormalTabInsets

public Insets getNormalTabInsets(Direction areaOrientation, Direction tabDirection)

getScrollOffset

public int getScrollOffset()

getSelectedInsets

public Insets getSelectedInsets(Direction d)

getSelectedRaised

public int getSelectedRaised(Direction d)

getSelectedTabInsets

public Insets getSelectedTabInsets(Direction areaOrientation, Direction tabDirection)

getTabAreaInsets

public Insets getTabAreaInsets(Direction d)

getTabExternalMinSize

public Dimension getTabExternalMinSize(Direction d)

getTabInsets

public Insets getTabInsets(Direction d)

getTabSpacing

public int getTabSpacing(Direction d)

getTabSpacing

public int getTabSpacing()

getTextIconGap

public int getTextIconGap()

init

public void init()

isContentOpaque

public boolean isContentOpaque()

isOpaque

public boolean isOpaque()

isSwapWidthHeight

public boolean isSwapWidthHeight(Direction d)

isTabAreaComponentsOpaque

public boolean isTabAreaComponentsOpaque()

isTabAreaOpaque

public boolean isTabAreaOpaque()

paintContentArea

public void paintContentArea(TabbedPanelContentPanel p, Graphics g, int x, int y, int width, int height)

paintTabArea

public void paintTabArea(TabbedPanel tp, Graphics g, int x, int y, int width, int height)

setEnabled

public void setEnabled(boolean enabled)

setHoveredTab

public void setHoveredTab(Tab tab)