package com.vci.client.ui.swing.components;
|
|
import java.awt.FlowLayout;
|
import java.awt.LayoutManager;
|
import java.util.LinkedList;
|
import java.util.List;
|
|
import javax.swing.BorderFactory;
|
import javax.swing.JPanel;
|
|
import com.vci.client.ui.swing.VCISwingUtil;
|
|
/**
|
*
|
* <p>Title: </p>
|
* <p>Description: </p>
|
* <p>Copyright: Copyright (c) 2012</p>
|
* <p>Company: VCI</p>
|
* @author xchao
|
* @time 2012-5-10
|
* @version 1.0
|
*/
|
public class VCIJPanel extends JPanel{
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 4162022934080090540L;
|
|
public VCIJPanel() {
|
this(true);
|
}
|
|
public VCIJPanel(LayoutManager layout) {
|
this(layout, true);
|
}
|
|
public VCIJPanel(boolean isDoubleBuffered) {
|
this(new FlowLayout(), isDoubleBuffered);
|
}
|
|
public VCIJPanel(LayoutManager layout, boolean isDoubleBuffered) {
|
super(layout, isDoubleBuffered);
|
customConstructor();
|
}
|
|
private void customConstructor(){
|
setFont(VCISwingUtil.FONT_DEFAULT);
|
this.setBorder(BorderFactory.createEmptyBorder());
|
}
|
private Object obj = null;
|
public Object getObj() {
|
return obj;
|
}
|
public void setObj(Object obj) {
|
this.obj = obj;
|
}
|
private List<VCIJTextField> textComptList = new LinkedList<VCIJTextField>();
|
public List<VCIJTextField> getTextComptList() {
|
return textComptList;
|
}
|
|
public void setTextComptList(List<VCIJTextField> textComptList) {
|
this.textComptList = textComptList;
|
}
|
}
|