程序包 proguard.gui
类 FilterDialog
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Dialog
-
- javax.swing.JDialog
-
- 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.JDialogThisJDialogallows the user to enter a String.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static intAPPROVE_OPTIONReturn value if the dialog is approved (with the Ok button).static intCANCEL_OPTIONReturn value if the dialog is canceled (with the Cancel button or by closing the dialog window).-
从类继承的字段 java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
-
构造器概要
构造器 构造器 说明 FilterDialog(javax.swing.JFrame owner, java.lang.String explanation)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.util.ListgetAarFilter()Returns the aar filter currently represented in this dialog.java.util.ListgetApkFilter()Returns the apk filter currently represented in this dialog.java.util.ListgetEarFilter()Returns the ear filter currently represented in this dialog.java.util.ListgetFilter()Returns the filter currently represented in this dialog.java.util.ListgetJarFilter()Returns the jar filter currently represented in this dialog.java.util.ListgetJmodFilter()Returns the jmod filter currently represented in this dialog.java.util.ListgetWarFilter()Returns the war filter currently represented in this dialog.java.util.ListgetZipFilter()Returns the zip filter currently represented in this dialog.voidsetAarFilter(java.util.List filter)Sets the aar filter to be represented in this dialog.voidsetApkFilter(java.util.List filter)Sets the apk filter to be represented in this dialog.voidsetEarFilter(java.util.List filter)Sets the ear filter to be represented in this dialog.voidsetFilter(java.util.List filter)Sets the filter to be represented in this dialog.voidsetJarFilter(java.util.List filter)Sets the jar filter to be represented in this dialog.voidsetJmodFilter(java.util.List filter)Sets the jmod filter to be represented in this dialog.voidsetWarFilter(java.util.List filter)Sets the war filter to be represented in this dialog.voidsetZipFilter(java.util.List filter)Sets the zip filter to be represented in this dialog.intshowDialog()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
-
-
-
-
方法详细资料
-
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_OPTIONorAPPROVE_OPTION, depending on the choice of the user.
-
-