Module java.desktop

Class BasicComboBoxEditor

    • Field Detail

      • editor

        protected JTextField editor
        An instance of JTextField.
    • Constructor Detail

      • BasicComboBoxEditor

        public BasicComboBoxEditor()
        Constructs a new instance of BasicComboBoxEditor.
    • Method Detail

      • createEditorComponent

        protected JTextField createEditorComponent()
        Creates the internal editor component. Override this to provide a custom implementation.
        Returns:
        a new editor component
        Since:
        1.6
      • setItem

        public void setItem​(Object anObject)
        Sets the item that should be edited.
        Specified by:
        setItem in interface ComboBoxEditor
        Parameters:
        anObject - the displayed value of the editor

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部