public class ChecklistPanel
extends javax.swing.JPanel
implements java.beans.PropertyChangeListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected static java.awt.Color |
BLUE_1 |
static java.lang.String |
DIRTY_PROPERTY |
static java.lang.String |
FLAT_TITLE |
protected static java.awt.Color |
GREEN_1 |
static javax.swing.Icon |
ICON_CANCEL |
static javax.swing.Icon |
ICON_NEW |
static javax.swing.Icon |
ICON_OPEN |
static javax.swing.Icon |
ICON_PDF |
static javax.swing.Icon |
ICON_RUN |
static javax.swing.Icon |
ICON_SAVE |
static javax.swing.Icon |
ICON_SAVEAS |
static javax.swing.Icon |
NEPTUS_ICON |
static java.lang.String |
NOT_FLAT_TITLE |
static javax.swing.Icon |
NOT_OK_IMAGE_ICON |
static javax.swing.Icon |
OK_IMAGE_ICON |
protected static java.awt.Color |
ORANGE_1 |
protected static java.awt.Color |
RED_1 |
static java.lang.String |
SAVEAS_PROPERTY |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
ChecklistPanel(ChecklistType cl)
This is the default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener cl) |
protected static java.lang.String |
createPDFFileName(java.lang.String name) |
ChecklistType |
getChecklistType() |
static javax.swing.JDialog |
getIPDialog(java.awt.Window w) |
java.lang.String |
getName() |
javax.swing.JButton |
getNewButton() |
javax.swing.JButton |
getOpenButton() |
javax.swing.JButton |
getRunButton() |
boolean |
isChanged() |
boolean |
isDirty() |
boolean |
isEditable() |
static void |
main(java.lang.String... args) |
void |
makeNameEditable() |
protected void |
openPDFInExternalViewer(java.lang.String pdf) |
void |
propertyChange(java.beans.PropertyChangeEvent e) |
void |
removeChangeListener(javax.swing.event.ChangeListener cl) |
boolean |
save() |
boolean |
saveAsFile() |
boolean |
saveFile() |
void |
setChanged(boolean isChanged) |
void |
setEditable(boolean isEditable) |
void |
setJInternalFrame(javax.swing.JInternalFrame internalFrame) |
static ChecklistPanel |
showChecklistPanel(ChecklistType cl) |
static ChecklistPanel |
showChecklistPanel(java.lang.String url) |
static ChecklistPanel |
showChecklistPanel(java.lang.String title,
ChecklistType cl) |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String DIRTY_PROPERTY
public static final java.lang.String SAVEAS_PROPERTY
public static javax.swing.Icon NEPTUS_ICON
public static javax.swing.Icon OK_IMAGE_ICON
public static javax.swing.Icon NOT_OK_IMAGE_ICON
public static javax.swing.Icon ICON_PDF
public static javax.swing.Icon ICON_SAVEAS
public static javax.swing.Icon ICON_SAVE
public static javax.swing.Icon ICON_OPEN
public static javax.swing.Icon ICON_NEW
public static javax.swing.Icon ICON_CANCEL
public static javax.swing.Icon ICON_RUN
public static java.lang.String FLAT_TITLE
public static java.lang.String NOT_FLAT_TITLE
protected static java.awt.Color BLUE_1
protected static java.awt.Color GREEN_1
protected static java.awt.Color RED_1
protected static java.awt.Color ORANGE_1
public ChecklistPanel(ChecklistType cl)
public java.lang.String getName()
getName
in class java.awt.Component
public boolean isEditable()
public void setEditable(boolean isEditable)
isEditable
- The isEditable to set.public boolean isChanged()
public boolean isDirty()
public void setChanged(boolean isChanged)
isChanged
- The isChanged to set.public void setJInternalFrame(javax.swing.JInternalFrame internalFrame)
internalFrame
- The jInternalFrame to set.public void addChangeListener(javax.swing.event.ChangeListener cl)
public void removeChangeListener(javax.swing.event.ChangeListener cl)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
public void makeNameEditable()
public boolean save()
public boolean saveAsFile()
public boolean saveFile()
public javax.swing.JButton getNewButton()
public javax.swing.JButton getOpenButton()
public javax.swing.JButton getRunButton()
public ChecklistType getChecklistType()
public static ChecklistPanel showChecklistPanel(java.lang.String title, ChecklistType cl)
title
- cl
- public static ChecklistPanel showChecklistPanel(ChecklistType cl)
cl
- public static ChecklistPanel showChecklistPanel(java.lang.String url)
url
- protected void openPDFInExternalViewer(java.lang.String pdf)
pdf
- protected static java.lang.String createPDFFileName(java.lang.String name)
public static javax.swing.JDialog getIPDialog(java.awt.Window w)
public static void main(java.lang.String... args)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.