public class PMICommentsPanel extends AbstractVisionScrollPane implements DesignerInitializable, TouchscreenMouseListener.TouchscreenEnabledComponent, EnabledEx, LocaleListener
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBarjavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTACHMENT_LABEL_TOOLTIP_TEXT1 |
static java.lang.String |
ATTACHMENT_LABEL_TOOLTIP_TEXT2 |
static java.lang.String |
DELETE_LABEL_TOOLTIP_TEXT |
static int |
DELETE_MODE_ANY |
static int |
DELETE_MODE_NONE |
static int |
DELETE_MODE_OWNER |
static java.lang.String |
DELETE_TEXT |
static int |
DISPLAY_HORIZONTAL |
static int |
DISPLAY_VERTICAL |
static int |
DL_MODE_OPEN |
static int |
DL_MODE_SAVE |
protected int |
touchscreenMode |
static java.lang.String |
UNSTICK_TEXT |
static java.lang.String |
UNSTICK_TOOLTIP_TEXT |
antialias, context, cursorCodecolumnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewportlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISABLED_BY_PERMISSIONSRESERVED_SET_KEYCOMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONSCOMPONENT_RUNNINGCOLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT| Constructor and Description |
|---|
PMICommentsPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluateEnabled()
This method enables/disables the ability to add notes, delete notes, and download attachments from notes.
|
protected void |
generateGUI() |
java.lang.String |
getAddNoteText() |
java.lang.String |
getAttachText() |
java.lang.String |
getCancelText() |
Dataset |
getData() |
java.lang.String |
getDatasource() |
java.lang.String |
getDateFormat() |
int |
getDeleteMode() |
java.lang.String |
getDeleteQuery() |
int |
getDisplayMode() |
int |
getDownloadMode() |
java.lang.String |
getGetAttachmentQuery() |
java.awt.Color |
getHeadersColor() |
java.lang.String |
getInsertQuery1() |
java.lang.String |
getInsertQuery2() |
long |
getMaxAttachmentSize() |
java.lang.String |
getNewNoteText() |
java.awt.Color |
getNoteColor() |
int |
getPadding() |
java.awt.Color |
getStickyHeaderColor() |
java.awt.Color |
getStickyNoteColor() |
java.lang.String |
getStickyText() |
int |
getTouchscreenMode() |
java.lang.String |
getTouchscreenPropertyName()
The javabeans-style name of the property to modify.
|
TouchscreenMouseListener.KeyboardStyle |
getTouchscreenStyle() |
java.lang.String |
getUnstickQuery() |
protected void |
initComponents() |
void |
initialize() |
boolean |
isAttachmentsEnabled() |
boolean |
isComponentEnabled() |
boolean |
isSkipAudit() |
boolean |
isTouchscreenEditAllowed() |
void |
localeChanged(java.util.Locale newLocale) |
void |
setAddNoteText(java.lang.String addNoteText) |
void |
setAttachmentsEnabled(boolean attachmentsEnabled) |
void |
setAttachText(java.lang.String attachText) |
void |
setCancelText(java.lang.String cancelText) |
void |
setComponentEnabled(boolean componentEnabled) |
void |
setData(Dataset data) |
void |
setDatasource(java.lang.String datasource) |
void |
setDateFormat(java.lang.String formatText) |
void |
setDeleteMode(int deleteMode) |
void |
setDeleteQuery(java.lang.String deleteQuery) |
void |
setDisplayMode(int displayMode) |
void |
setDownloadMode(int downloadMode) |
void |
setFont(java.awt.Font font) |
void |
setForeground(java.awt.Color color) |
void |
setGetAttachmentQuery(java.lang.String getAttachmentQuery) |
void |
setHeadersColor(java.awt.Color headersColor) |
void |
setInsertQuery1(java.lang.String insertQuery1) |
void |
setInsertQuery2(java.lang.String insertQuery2) |
void |
setMaxAttachmentSize(long maxAttachmentSize) |
void |
setNewNoteText(java.lang.String s) |
void |
setNoteColor(java.awt.Color noteColor) |
void |
setPadding(int padding) |
void |
setSkipAudit(boolean skipAudit) |
void |
setStickyHeaderColor(java.awt.Color stickyHeaderColor) |
void |
setStickyNoteColor(java.awt.Color stickyNoteColor) |
void |
setStickyText(java.lang.String stickyText) |
void |
setTouchscreenMode(int touchscreenMode) |
void |
setUnstickQuery(java.lang.String unstickQuery) |
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getQuality, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, onShutdown, onStartup, paintChildren, paintComponent, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setName, setPropertyValue, setQuality, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, updateQualitycreateHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUIaddAncestorListener, 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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, 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, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, getName, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int DELETE_MODE_NONE
public static final int DELETE_MODE_OWNER
public static final int DELETE_MODE_ANY
public static final int DL_MODE_SAVE
public static final int DL_MODE_OPEN
public static final int DISPLAY_HORIZONTAL
public static final int DISPLAY_VERTICAL
public static final java.lang.String ATTACHMENT_LABEL_TOOLTIP_TEXT1
public static final java.lang.String ATTACHMENT_LABEL_TOOLTIP_TEXT2
public static final java.lang.String DELETE_LABEL_TOOLTIP_TEXT
public static final java.lang.String DELETE_TEXT
public static final java.lang.String UNSTICK_TEXT
public static final java.lang.String UNSTICK_TOOLTIP_TEXT
protected int touchscreenMode
protected void initComponents()
public void setFont(java.awt.Font font)
setFont in class javax.swing.JComponentpublic void initialize()
initialize in interface DesignerInitializablepublic void localeChanged(java.util.Locale newLocale)
localeChanged in interface LocaleListenerlocaleChanged in class AbstractVisionScrollPaneprotected void generateGUI()
public Dataset getData()
public void setData(Dataset data)
public java.lang.String getDatasource()
public void setDatasource(java.lang.String datasource)
public java.lang.String getDeleteQuery()
public void setDeleteQuery(java.lang.String deleteQuery)
public java.lang.String getGetAttachmentQuery()
public void setGetAttachmentQuery(java.lang.String getAttachmentQuery)
public java.awt.Color getHeadersColor()
public void setHeadersColor(java.awt.Color headersColor)
public java.lang.String getInsertQuery1()
public void setInsertQuery1(java.lang.String insertQuery1)
public java.lang.String getInsertQuery2()
public void setInsertQuery2(java.lang.String insertQuery2)
public java.awt.Color getNoteColor()
public void setNoteColor(java.awt.Color noteColor)
public boolean isSkipAudit()
public void setSkipAudit(boolean skipAudit)
public java.awt.Color getStickyHeaderColor()
public void setStickyHeaderColor(java.awt.Color stickyHeaderColor)
public java.awt.Color getStickyNoteColor()
public void setStickyNoteColor(java.awt.Color stickyNoteColor)
public int getDeleteMode()
public void setDeleteMode(int deleteMode)
public int getDisplayMode()
public void setDisplayMode(int displayMode)
public java.lang.String getUnstickQuery()
public void setUnstickQuery(java.lang.String unstickQuery)
public boolean isAttachmentsEnabled()
public void setAttachmentsEnabled(boolean attachmentsEnabled)
public int getDownloadMode()
public void setDownloadMode(int downloadMode)
public int getPadding()
public void setPadding(int padding)
public void setForeground(java.awt.Color color)
setForeground in class javax.swing.JComponentpublic java.lang.String getDateFormat()
public void setDateFormat(java.lang.String formatText)
public java.lang.String getAddNoteText()
public void setAddNoteText(java.lang.String addNoteText)
public java.lang.String getCancelText()
public void setCancelText(java.lang.String cancelText)
public java.lang.String getStickyText()
public void setStickyText(java.lang.String stickyText)
public java.lang.String getAttachText()
public void setAttachText(java.lang.String attachText)
public int getTouchscreenMode()
getTouchscreenMode in interface TouchscreenMouseListener.TouchscreenEnabledComponentpublic void setTouchscreenMode(int touchscreenMode)
public TouchscreenMouseListener.KeyboardStyle getTouchscreenStyle()
getTouchscreenStyle in interface TouchscreenMouseListener.TouchscreenEnabledComponentpublic boolean isTouchscreenEditAllowed()
isTouchscreenEditAllowed in interface TouchscreenMouseListener.TouchscreenEnabledComponentpublic java.lang.String getTouchscreenPropertyName()
TouchscreenMouseListener.TouchscreenEnabledComponentgetTouchscreenPropertyName in interface TouchscreenMouseListener.TouchscreenEnabledComponentpublic java.lang.String getNewNoteText()
public void setNewNoteText(java.lang.String s)
public long getMaxAttachmentSize()
public void setMaxAttachmentSize(long maxAttachmentSize)
public boolean isComponentEnabled()
isComponentEnabled in interface EnabledExpublic void setComponentEnabled(boolean componentEnabled)
setComponentEnabled in interface EnabledExpublic void evaluateEnabled()
evaluateEnabled in interface EnabledEx