org.pdfsam.guiclient.commons.components
Class CommonComponentsFactory
java.lang.Object
org.pdfsam.guiclient.commons.components.CommonComponentsFactory
public class CommonComponentsFactory
- extends java.lang.Object
Factory for components commonly used by plugins
- Author:
- Andrea Vacondio
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIMPLE_TEXT_FIELD_TYPE
public static final int SIMPLE_TEXT_FIELD_TYPE
- See Also:
- Constant Field Values
DESTINATION_TEXT_FIELD_TYPE
public static final int DESTINATION_TEXT_FIELD_TYPE
- See Also:
- Constant Field Values
PREFIX_TEXT_FIELD_TYPE
public static final int PREFIX_TEXT_FIELD_TYPE
- See Also:
- Constant Field Values
PREFIX_TEXT_FIELD_TYPE_FULL_MENU
public static final int PREFIX_TEXT_FIELD_TYPE_FULL_MENU
- See Also:
- Constant Field Values
RUN_BUTTON_TYPE
public static final int RUN_BUTTON_TYPE
- See Also:
- Constant Field Values
BROWSE_BUTTON_TYPE
public static final int BROWSE_BUTTON_TYPE
- See Also:
- Constant Field Values
ADD_BUTTON_TYPE
public static final int ADD_BUTTON_TYPE
- See Also:
- Constant Field Values
OVERWRITE_CHECKBOX_TYPE
public static final int OVERWRITE_CHECKBOX_TYPE
- See Also:
- Constant Field Values
COMPRESS_CHECKBOX_TYPE
public static final int COMPRESS_CHECKBOX_TYPE
- See Also:
- Constant Field Values
DONT_PRESERVER_ORDER_CHECKBOX_TYPE
public static final int DONT_PRESERVER_ORDER_CHECKBOX_TYPE
- See Also:
- Constant Field Values
PDF_VERSION_LABEL
public static final int PDF_VERSION_LABEL
- See Also:
- Constant Field Values
getInstance
public static CommonComponentsFactory getInstance()
- Returns:
- the instance of CommonComponentsFactory
createButton
public javax.swing.JButton createButton(int buttonType)
- Parameters:
buttonType
-
- Returns:
- a button instance
createCheckBox
public javax.swing.JCheckBox createCheckBox(int checkboxType)
- Parameters:
checkboxType
-
- Returns:
- a JCheckBox instance
createLabel
public javax.swing.JLabel createLabel(int labelType)
- Parameters:
labelType
-
- Returns:
- a JLabel instance
createTextField
public javax.swing.JTextField createTextField(int textFieldType)
- Parameters:
textFieldType
-
- Returns:
- a JTextField instance
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException