📄 clothestypecaretlistener.java
字号:
package control.getClothes;
import javax.swing.event.CaretEvent;
import javax.swing.event.CaretListener;
import view.panel.getClothes.ChooseClothesPanel;
public class ClothesTypeCaretListener implements CaretListener{
private ChooseClothesPanel chooseClothesPanel;
/**
* @param chooseClothesPanel
*/
public ClothesTypeCaretListener(ChooseClothesPanel chooseClothesPanel) {
super();
this.chooseClothesPanel = chooseClothesPanel;
}
public void caretUpdate(CaretEvent arg0) {
// TODO Auto-generated method stub
/*String clothesName = chooseClothesPanel.buildClothesNameTxFld().getText().toString();
String serviceType = chooseClothesPanel.buildServiceTypeTxFld().getText().toString();
GetClothesDao getClothesDao = new GetClothesDaoImpl();
Vector clothesTypeVector = null;
try{
clothesTypeVector = getClothesDao.searchClothesTypeByNameAndService(clothesName,1);
}catch(DbException de){
JOptionPane.showMessageDialog(null,de.getMessage(),"提示",JOptionPane.YES_OPTION);
return;
}
chooseClothesPanel.setClothesTypeTable(clothesTypeVector);*/
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -