Class PaneUI
- java.lang.Object
-
- net.infonode.tabbedpanel.theme.internal.laftheme.PaneUI
-
public class PaneUI extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PaneUI(PaneUIListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
java.awt.Insets
getContentInsets(Direction d, boolean tabAreaVisible)
java.awt.Color
getContentTabAreaBorderColor(Direction d)
java.awt.Font
getFont()
java.awt.Insets
getNormalInsets(Direction d)
java.awt.Insets
getNormalTabInsets(Direction areaOrientation, Direction tabDirection)
int
getScrollOffset()
java.awt.Insets
getSelectedInsets(Direction d)
int
getSelectedRaised(Direction d)
java.awt.Insets
getSelectedTabInsets(Direction areaOrientation, Direction tabDirection)
java.awt.Insets
getTabAreaInsets(Direction d)
java.awt.Dimension
getTabExternalMinSize(Direction d)
java.awt.Insets
getTabInsets(Direction d)
int
getTabSpacing()
int
getTabSpacing(Direction d)
int
getTextIconGap()
void
init()
boolean
isContentOpaque()
boolean
isOpaque()
boolean
isSwapWidthHeight(Direction d)
boolean
isTabAreaComponentsOpaque()
boolean
isTabAreaOpaque()
void
paintContentArea(TabbedPanelContentPanel p, java.awt.Graphics g, int x, int y, int width, int height)
void
paintTabArea(TabbedPanel tp, java.awt.Graphics g, int x, int y, int width, int height)
void
setEnabled(boolean enabled)
void
setHoveredTab(Tab tab)
-
-
-
Constructor Detail
-
PaneUI
public PaneUI(PaneUIListener listener)
-
-
Method Detail
-
init
public void init()
-
dispose
public void dispose()
-
setEnabled
public void setEnabled(boolean enabled)
-
isContentOpaque
public boolean isContentOpaque()
-
isOpaque
public boolean isOpaque()
-
isTabAreaComponentsOpaque
public boolean isTabAreaComponentsOpaque()
-
isTabAreaOpaque
public boolean isTabAreaOpaque()
-
getFont
public java.awt.Font getFont()
-
isSwapWidthHeight
public boolean isSwapWidthHeight(Direction d)
-
getNormalInsets
public java.awt.Insets getNormalInsets(Direction d)
-
getSelectedInsets
public java.awt.Insets getSelectedInsets(Direction d)
-
getNormalTabInsets
public java.awt.Insets getNormalTabInsets(Direction areaOrientation, Direction tabDirection)
-
getSelectedTabInsets
public java.awt.Insets getSelectedTabInsets(Direction areaOrientation, Direction tabDirection)
-
getContentInsets
public java.awt.Insets getContentInsets(Direction d, boolean tabAreaVisible)
-
getTabAreaInsets
public java.awt.Insets getTabAreaInsets(Direction d)
-
getTabExternalMinSize
public java.awt.Dimension getTabExternalMinSize(Direction d)
-
getTabInsets
public java.awt.Insets getTabInsets(Direction d)
-
getTabSpacing
public int getTabSpacing(Direction d)
-
getSelectedRaised
public int getSelectedRaised(Direction d)
-
getContentTabAreaBorderColor
public java.awt.Color getContentTabAreaBorderColor(Direction d)
-
getTabSpacing
public int getTabSpacing()
-
getTextIconGap
public int getTextIconGap()
-
getScrollOffset
public int getScrollOffset()
-
setHoveredTab
public void setHoveredTab(Tab tab)
-
paintTabArea
public void paintTabArea(TabbedPanel tp, java.awt.Graphics g, int x, int y, int width, int height)
-
paintContentArea
public void paintContentArea(TabbedPanelContentPanel p, java.awt.Graphics g, int x, int y, int width, int height)
-
-