程序包 proguard.gui

类 FilterDialog

  • 所有已实现的接口:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

    public class FilterDialog
    extends javax.swing.JDialog
    This JDialog allows the user to enter a String.
    另请参阅:
    序列化表格
    • 嵌套类概要

      • 从类继承的嵌套类/接口 javax.swing.JDialog

        javax.swing.JDialog.AccessibleJDialog
      • 从类继承的嵌套类/接口 java.awt.Dialog

        java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
      • 从类继承的嵌套类/接口 java.awt.Window

        java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
      • 从类继承的嵌套类/接口 java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • 从类继承的嵌套类/接口 java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static int APPROVE_OPTION
      Return value if the dialog is approved (with the Ok button).
      static int CANCEL_OPTION
      Return value if the dialog is canceled (with the Cancel button or by closing the dialog window).
      • 从类继承的字段 javax.swing.JDialog

        accessibleContext, rootPane, rootPaneCheckingEnabled
      • 从类继承的字段 java.awt.Dialog

        DEFAULT_MODALITY_TYPE
      • 从类继承的字段 java.awt.Component

        BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • 从接口继承的字段 java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • 从接口继承的字段 javax.swing.WindowConstants

        DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
    • 构造器概要

      构造器 
      构造器 说明
      FilterDialog​(javax.swing.JFrame owner, java.lang.String explanation)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.util.List getAarFilter()
      Returns the aar filter currently represented in this dialog.
      java.util.List getApkFilter()
      Returns the apk filter currently represented in this dialog.
      java.util.List getEarFilter()
      Returns the ear filter currently represented in this dialog.
      java.util.List getFilter()
      Returns the filter currently represented in this dialog.
      java.util.List getJarFilter()
      Returns the jar filter currently represented in this dialog.
      java.util.List getJmodFilter()
      Returns the jmod filter currently represented in this dialog.
      java.util.List getWarFilter()
      Returns the war filter currently represented in this dialog.
      java.util.List getZipFilter()
      Returns the zip filter currently represented in this dialog.
      void setAarFilter​(java.util.List filter)
      Sets the aar filter to be represented in this dialog.
      void setApkFilter​(java.util.List filter)
      Sets the apk filter to be represented in this dialog.
      void setEarFilter​(java.util.List filter)
      Sets the ear filter to be represented in this dialog.
      void setFilter​(java.util.List filter)
      Sets the filter to be represented in this dialog.
      void setJarFilter​(java.util.List filter)
      Sets the jar filter to be represented in this dialog.
      void setJmodFilter​(java.util.List filter)
      Sets the jmod filter to be represented in this dialog.
      void setWarFilter​(java.util.List filter)
      Sets the war filter to be represented in this dialog.
      void setZipFilter​(java.util.List filter)
      Sets the zip filter to be represented in this dialog.
      int showDialog()
      Shows this dialog.
      • 从类继承的方法 javax.swing.JDialog

        addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
      • 从类继承的方法 java.awt.Dialog

        addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack
      • 从类继承的方法 java.awt.Window

        addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
      • 从类继承的方法 java.awt.Container

        add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
      • 从类继承的方法 java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 字段详细资料

      • CANCEL_OPTION

        public static final int CANCEL_OPTION
        Return value if the dialog is canceled (with the Cancel button or by closing the dialog window).
        另请参阅:
        常量字段值
      • APPROVE_OPTION

        public static final int APPROVE_OPTION
        Return value if the dialog is approved (with the Ok button).
        另请参阅:
        常量字段值
    • 构造器详细资料

      • FilterDialog

        public FilterDialog​(javax.swing.JFrame owner,
                            java.lang.String explanation)
    • 方法详细资料

      • setFilter

        public void setFilter​(java.util.List filter)
        Sets the filter to be represented in this dialog.
      • getFilter

        public java.util.List getFilter()
        Returns the filter currently represented in this dialog.
      • setApkFilter

        public void setApkFilter​(java.util.List filter)
        Sets the apk filter to be represented in this dialog.
      • getApkFilter

        public java.util.List getApkFilter()
        Returns the apk filter currently represented in this dialog.
      • setJarFilter

        public void setJarFilter​(java.util.List filter)
        Sets the jar filter to be represented in this dialog.
      • getJarFilter

        public java.util.List getJarFilter()
        Returns the jar filter currently represented in this dialog.
      • setAarFilter

        public void setAarFilter​(java.util.List filter)
        Sets the aar filter to be represented in this dialog.
      • getAarFilter

        public java.util.List getAarFilter()
        Returns the aar filter currently represented in this dialog.
      • setWarFilter

        public void setWarFilter​(java.util.List filter)
        Sets the war filter to be represented in this dialog.
      • getWarFilter

        public java.util.List getWarFilter()
        Returns the war filter currently represented in this dialog.
      • setEarFilter

        public void setEarFilter​(java.util.List filter)
        Sets the ear filter to be represented in this dialog.
      • getEarFilter

        public java.util.List getEarFilter()
        Returns the ear filter currently represented in this dialog.
      • setJmodFilter

        public void setJmodFilter​(java.util.List filter)
        Sets the jmod filter to be represented in this dialog.
      • getJmodFilter

        public java.util.List getJmodFilter()
        Returns the jmod filter currently represented in this dialog.
      • setZipFilter

        public void setZipFilter​(java.util.List filter)
        Sets the zip filter to be represented in this dialog.
      • getZipFilter

        public java.util.List getZipFilter()
        Returns the zip filter currently represented in this dialog.
      • showDialog

        public int showDialog()
        Shows this dialog. This method only returns when the dialog is closed.
        返回:
        CANCEL_OPTION or APPROVE_OPTION, depending on the choice of the user.