|
package com.vci.client.ui.swing.components;
|
|
import java.awt.Component;
|
|
import javax.swing.JButton;
|
import javax.swing.JSplitPane;
|
import javax.swing.UIManager;
|
|
import com.vci.client.ui.swing.VCISwingUtil;
|
|
public class VCIJSplitPane extends JSplitPane {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 4749386021836113169L;
|
|
public VCIJSplitPane(){
|
this(JSplitPane.HORIZONTAL_SPLIT, false,
|
new JButton(UIManager.getString("SplitPane.leftButtonText")),
|
new JButton(UIManager.getString("SplitPane.rightButtonText")));
|
}
|
|
public VCIJSplitPane(int newOrientation) {
|
this(newOrientation, false);
|
}
|
|
public VCIJSplitPane(int newOrientation, boolean newContinuousLayout) {
|
this(newOrientation, newContinuousLayout, null, null);
|
}
|
|
public VCIJSplitPane(int newOrientation, Component newLeftComponent,
|
Component newRightComponent) {
|
this(newOrientation, false, newLeftComponent, newRightComponent);
|
}
|
|
public VCIJSplitPane(int newOrientation, boolean newContinuousLayout,
|
Component newLeftComponent, Component newRightComponent) {
|
super(newOrientation, newContinuousLayout, newLeftComponent,
|
newRightComponent);
|
customConstructor();
|
}
|
|
private void customConstructor(){
|
setFont(VCISwingUtil.FONT_DEFAULT);
|
}
|
private Object obj = null;
|
public Object getObj() {
|
return obj;
|
}
|
public void setObj(Object obj) {
|
this.obj = obj;
|
}
|
}
|