com.japisoft.multipanes.view
Class DefaultTitledPaneView

java.lang.Object
  |
  +--com.japisoft.multipanes.view.DefaultTitledPaneView
All Implemented Interfaces:
TitledPaneView

public class DefaultTitledPaneView
extends java.lang.Object
implements TitledPaneView

Simple view showing a JButton

 UIManager properties :
 - multipanes.bgColor
 - multipanes.fgColor
 - multipanes.font
 


Constructor Summary
DefaultTitledPaneView(MultiPanes panes)
           
 
Method Summary
 javax.swing.JComponent buildPanelHeader(TitledPane pane)
           
 void updateView(TitledPane pane, boolean openedState)
          Update the view due to opening / closing new state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTitledPaneView

public DefaultTitledPaneView(MultiPanes panes)
Method Detail

buildPanelHeader

public javax.swing.JComponent buildPanelHeader(TitledPane pane)
Specified by:
buildPanelHeader in interface TitledPaneView
Returns:
a component showing panel header

updateView

public void updateView(TitledPane pane,
                       boolean openedState)
Update the view due to opening / closing new state

Specified by:
updateView in interface TitledPaneView
Parameters:
pane - The panel
openedState - the opening / closing status