org.japura.gui.renderer
Class DefaultSplitButtonRenderer

java.lang.Object
  extended by org.japura.gui.renderer.DefaultSplitButtonRenderer
All Implemented Interfaces:
SplitButtonRenderer

public class DefaultSplitButtonRenderer
extends java.lang.Object
implements SplitButtonRenderer

Copyright (C) 2010-2012 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
DefaultSplitButtonRenderer()
           
 
Method Summary
 java.awt.Component getCellRendererComponent(java.lang.String buttonName, boolean isSeparator, boolean cellHasFocus, boolean buttonEnabled)
           
 javax.swing.border.Border getMouseOutBorder()
           
 javax.swing.border.Border getMouseOverBorder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSplitButtonRenderer

public DefaultSplitButtonRenderer()
Method Detail

getCellRendererComponent

public java.awt.Component getCellRendererComponent(java.lang.String buttonName,
                                                   boolean isSeparator,
                                                   boolean cellHasFocus,
                                                   boolean buttonEnabled)
Specified by:
getCellRendererComponent in interface SplitButtonRenderer

getMouseOverBorder

public javax.swing.border.Border getMouseOverBorder()

getMouseOutBorder

public javax.swing.border.Border getMouseOutBorder()