⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlcolumn.java

📁 是一个专门设计用于触摸屏的POS(point of sales)应用软件
💻 JAVA
字号:
package net.adrianromero.tpv.panels;import java.util.Enumeration;import javax.swing.tree.TreeNode;public class SQLColumn implements TreeNode {        private SQLTable m_table;    private String m_sName;        /** Creates a new instance of SQLColumn */    public SQLColumn(SQLTable t, String name) {        m_table = t;        m_sName = name;    }    public String toString() {        return m_sName;    }        public Enumeration children(){        return null;    }    public boolean getAllowsChildren() {        return false;    }    public TreeNode getChildAt(int childIndex) {        throw new ArrayIndexOutOfBoundsException();    }    public int getChildCount() {        return 0;    }    public int getIndex(TreeNode node){        throw new ArrayIndexOutOfBoundsException();    }    public TreeNode getParent() {        return m_table;    }    public boolean isLeaf() {        return true;    }      }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -