|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
proguard.gui.FilterDialog
public class FilterDialog
This JDialog allows the user to enter a String.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
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). |
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FilterDialog(JFrame owner,
String explanation)
|
|
| Method Summary | |
|---|---|
List |
getEarFilter()
Returns the ear filter currently represented in this dialog. |
List |
getFilter()
Returns the filter currently represented in this dialog. |
List |
getJarFilter()
Returns the jar filter currently represented in this dialog. |
List |
getWarFilter()
Returns the war filter currently represented in this dialog. |
List |
getZipFilter()
Returns the zip filter currently represented in this dialog. |
void |
setEarFilter(List filter)
Sets the ear filter to be represented in this dialog. |
void |
setFilter(List filter)
Sets the filter to be represented in this dialog. |
void |
setJarFilter(List filter)
Sets the jar filter to be represented in this dialog. |
void |
setWarFilter(List filter)
Sets the war filter to be represented in this dialog. |
void |
setZipFilter(List filter)
Sets the zip filter to be represented in this dialog. |
int |
showDialog()
Shows this dialog. |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CANCEL_OPTION
public static final int APPROVE_OPTION
| Constructor Detail |
|---|
public FilterDialog(JFrame owner,
String explanation)
| Method Detail |
|---|
public void setFilter(List filter)
public List getFilter()
public void setJarFilter(List filter)
public List getJarFilter()
public void setWarFilter(List filter)
public List getWarFilter()
public void setEarFilter(List filter)
public List getEarFilter()
public void setZipFilter(List filter)
public List getZipFilter()
public int showDialog()
CANCEL_OPTION or APPROVE_OPTION,
depending on the choice of the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||