diff --git a/designer-base/src/main/java/com/fr/design/gui/imenutable/UIMenuTable.java b/designer-base/src/main/java/com/fr/design/gui/imenutable/UIMenuTable.java index ddee51dc5b..764085a709 100644 --- a/designer-base/src/main/java/com/fr/design/gui/imenutable/UIMenuTable.java +++ b/designer-base/src/main/java/com/fr/design/gui/imenutable/UIMenuTable.java @@ -33,14 +33,30 @@ public class UIMenuTable extends JTable { initComponents(); } + /** + * 传入列表数据 + * + * @param values 数据 + */ public void populateBean(List values) { ((UIMenuTableDataModel) dataModel).populateBean(values); } + /** + * 获取模型中数据 + * + * @return 数据 + */ public List updateBean() { return ((UIMenuTableDataModel) dataModel).updateBean(); } + /** + * 编辑事件 + * + * @param rowIndex 行索引 + * @param mouseY mouseY + */ public void editingEvent(int rowIndex, int mouseY) { selectedRowIndex = rowIndex; repaint();