JComponentPack 1.5.0

com.zfqjava.swing
Class JCommonPane

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by com.zfqjava.swing.JCommonPane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JCommonPane
extends JComponent
implements Accessible

JCommonPane provides some common panel.

See Also:
Serialized Form

Nested Class Summary
protected  class JCommonPane.AccessibleJCommonPane
          This class implements accessibility support for the JCommonPane class.
static class JCommonPane.BannerPanel
          BannerPanel provides a common banner panel.
static class JCommonPane.ImageBannerPanel
          ImageBannerPanel provides a common image banner panel.
static class JCommonPane.ImagePanel
          ImagePanel provides a common image panel.
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
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 String BACKGROUND_IMAGE
          Key for use background image.
static String BANNER_IMAGE
          Key for use banner image.
static String CENTER_PANEL
          Key for center panel of this common pane.
static String COPYRIGHT_NOTE
          Key for copyright note.
static String DEFAULT_BUTTON
          Key for default button.
static String DESCRIPTION
          Key for use description.
static String DIALOG
          Key for the dialog.
static String DIALOG_TITLE
          Key for common dialog title.
static String FEEDBACK_ACTION_URL
          Key for the feedback action url which to post the feedback.
static String FEEDBACK_CONTENT_PARAM_NAME
          Key for the feedback content parameter name.
static String FEEDBACK_EMAIL_PARAM_NAME
          Key for the feedback email parameter name.
static String FEEDBACK_REALNAME_PARAM_NAME
          Key for the feedback realname parameter name.
static String FEEDBACK_RECIPIENT_PARAM_NAME
          Key for the feedback recipient parameter name.
static String FEEDBACK_RECIPIENT_PARAM_VALUE
          Key for the feedback recipient parameter value.
static String FEEDBACK_SUBJECT_PARAM_NAME
          Key for the feedback subject parameter name.
static String FEEDBACK_SUBJECT_PARAM_VALUE
          Key for the feedback subject parameter value.
static String FEEDBACK_SUBJECT_SELECTED_INDEX
          Key for the feedback subject selected index.
static String FRAME_ICON_IMAGE
          Key for frame icon image.
static String HEADER
          Key for use header.
static String LAF_CLASS
          Key for the LookAndFeel class for the LookAndFeel dialog.
static String LAF_NAME
          Key for the LookAndFeel name for the LookAndFeel dialog.
static String LOCATION_ALWAYS_ENABLE_OK_BUTTON
          Identifies whether the "Ok" button always enable.
static String LOCATION_FILE
          Key for the location File for Location dialog.
static String LOCATION_TEXT
          Key for the location text for Location dialog.
static String LOCATION_URL
          Key for the location URL for Location dialog.
static String LOGO_ICON
          Key for use logo icon.
static String LOGO_TEXT
          Key for use logo text.
static String MINIMUM_SIZE
          Key for the dialog minimum size.
static String PASSWORD
          Key for the login password for Login dialog.
static String PRIVACY_URL
          Key for the privacy url.
static String PRODUCT_NAME
          Key for product name.
static String RETURN_MAP
          Key for the return map.
static String SHOW_ON_STARTUP
          Key for the show on startup option for TipOfTheDay dialog.
static String SIDE_IMAGE
          Key for use side image.
static String SPLASH_IMAGE
          Key for splash image.
static String TIP_BUNDLE_NAME
          Key for the tip bundle name for TipOfTheDay dialog.
static String TIP_CONTENT_TYPE
          Key for the tip content type for TipOfTheDay dialog.
static String TIP_INDEX
          Key for the tip index for TipOfTheDay dialog.
static String TIP_URL
          Key for the tip URL for TipOfTheDay dialog.
static String USERNAME
          Key for the login user name for Login dialog.
static String WEBSITE_LOGO
           
static String WEBSITE_LOGO_BACKGROUND
           
static String WEBSITE_LOGO_TEXT
           
static String WEBSITE_URL
           
static String WINDOW
          Key for the window.
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JCommonPane()
           
 
Method Summary
static JComponent createVendorBannerPanel(Map map)
          Creates a vendor banner panel.
 AccessibleContext getAccessibleContext()
          Gets the AccessibleContext associated with this JCommonPane.
static JCommonPane getCommonPane(Component centerPanel)
          Returns the JCommonPane for current center panel.
static Dimension getDefaultNormalSize()
          Returns the default normal dialog size 400x300.
static Dimension getDefaultSmallSize()
          Returns the default small dialog size 320x240.
static Dimension getDefaultTinySize()
          Returns the default tiny dialog size 320x180.
static JDialog getDialog(Component centerPanel)
          Returns the dialog the current center panel after invoke showDialog methods.
 Dimension getPreferredSize()
           
protected  void paintComponent(Graphics g)
           
protected  String paramString()
          Returns a string representation of this JCommonPane.
 void setBackgroundImage(Image backgroundImage)
          Sets the background image.
 void setBannerImage(Image img)
          Sets the banner image.
 void setDescription(String description)
          Sets the description.
 void setHeader(String header)
          Sets the header.
 void setLogoIcon(Icon icon)
          Sets the logo icon.
 void setLogoText(String text)
          Sets the logo text.
 void setSideImage(Image img)
          Sets the side image.
static Map showAboutDialog(Component parent, Map map)
          Pops up a about dialog contains the JCommonPane and parented to parent with the dialog having a default title.
static Map showDialog(Component parent, Map map)
          Pops up a common dialog contains the JCommonPane and parented to parent with the dialog having a default title.
static Map showFeedbackDialog(Component parent, Map map)
          Pops up a feedback dialog contains the JCommonPane and parented to parent with the dialog having a default title.
static Map showLocationDialog(Component parent, Map map)
          Pops up a location dialog contains the JCommonPane and parented to parent with the dialog having a default title.
static Map showLoginDialog(Component parent, Map map)
          Pops up a login dialog contains the JCommonPane and parented to parent with the dialog having a default title.
static Map showLookAndFeelDialog(Component parent, Map map)
          Pops up a look and feel dialog contains the JCommonPane and parented to parent with the dialog having a default title.
static Map showSplashWindow(Component parent, Map map)
          Pops up a splash window contains the JCommonPane and parented to parent.
static Map showTipOfTheDayDialog(Component parent, Map map)
          Pops up a tip of the day dialog contains the JCommonPane and parented to parent with the dialog having a default title.
 void updateUI()
           
 
Methods inherited from class javax.swing.JComponent
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, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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
 
Methods inherited from class java.awt.Container
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, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
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, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOGO_ICON

public static final String LOGO_ICON
Key for use logo icon.

See Also:
Constant Field Values

LOGO_TEXT

public static final String LOGO_TEXT
Key for use logo text.

See Also:
Constant Field Values

HEADER

public static final String HEADER
Key for use header.

See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
Key for use description.

See Also:
Constant Field Values

BANNER_IMAGE

public static final String BANNER_IMAGE
Key for use banner image.

See Also:
Constant Field Values

SIDE_IMAGE

public static final String SIDE_IMAGE
Key for use side image.

See Also:
Constant Field Values

BACKGROUND_IMAGE

public static final String BACKGROUND_IMAGE
Key for use background image.

See Also:
Constant Field Values

WINDOW

public static final String WINDOW
Key for the window.

See Also:
Constant Field Values

DIALOG

public static final String DIALOG
Key for the dialog.

Since:
JDataGrid 2.0
See Also:
Constant Field Values

DIALOG_TITLE

public static final String DIALOG_TITLE
Key for common dialog title.

Since:
JDataGrid 2.0
See Also:
Constant Field Values

DEFAULT_BUTTON

public static final String DEFAULT_BUTTON
Key for default button.

Since:
JDataGrid 2.0
See Also:
Constant Field Values

CENTER_PANEL

public static final String CENTER_PANEL
Key for center panel of this common pane.

Since:
JDataGrid 2.0
See Also:
Constant Field Values

RETURN_MAP

public static final String RETURN_MAP
Key for the return map.

Since:
JDataGrid 2.0
See Also:
Constant Field Values

PRODUCT_NAME

public static final String PRODUCT_NAME
Key for product name.

See Also:
Constant Field Values

COPYRIGHT_NOTE

public static final String COPYRIGHT_NOTE
Key for copyright note.

See Also:
Constant Field Values

SPLASH_IMAGE

public static final String SPLASH_IMAGE
Key for splash image.

See Also:
Constant Field Values

FRAME_ICON_IMAGE

public static final String FRAME_ICON_IMAGE
Key for frame icon image.

See Also:
Constant Field Values

LAF_NAME

public static final String LAF_NAME
Key for the LookAndFeel name for the LookAndFeel dialog.

Type: String

See Also:
Constant Field Values

LAF_CLASS

public static final String LAF_CLASS
Key for the LookAndFeel class for the LookAndFeel dialog.

Type: String

Usage: UIManager.setLookAndFeel((String)map.get(JCommonPane.LAF_CLASS));

See Also:
Constant Field Values

SHOW_ON_STARTUP

public static final String SHOW_ON_STARTUP
Key for the show on startup option for TipOfTheDay dialog.

Type: Boolean

See Also:
Constant Field Values

TIP_URL

public static final String TIP_URL
Key for the tip URL for TipOfTheDay dialog.

Type: URL

See Also:
Constant Field Values

TIP_BUNDLE_NAME

public static final String TIP_BUNDLE_NAME
Key for the tip bundle name for TipOfTheDay dialog.

Type: String

See Also:
Constant Field Values

TIP_CONTENT_TYPE

public static final String TIP_CONTENT_TYPE
Key for the tip content type for TipOfTheDay dialog.

Type: String
Value: text/plain text/html

See Also:
Constant Field Values

TIP_INDEX

public static final String TIP_INDEX
Key for the tip index for TipOfTheDay dialog.

Type: Integer

See Also:
Constant Field Values

LOCATION_URL

public static final String LOCATION_URL
Key for the location URL for Location dialog.

Type: java.net.URL

See Also:
Constant Field Values

LOCATION_FILE

public static final String LOCATION_FILE
Key for the location File for Location dialog.

Type: java.io.File

Since:
JDataGrid 2.0.1
See Also:
Constant Field Values

LOCATION_TEXT

public static final String LOCATION_TEXT
Key for the location text for Location dialog.

Type: String

See Also:
Constant Field Values

LOCATION_ALWAYS_ENABLE_OK_BUTTON

public static final String LOCATION_ALWAYS_ENABLE_OK_BUTTON
Identifies whether the "Ok" button always enable. The default is false, the "Ok" button enable or disable based the location text.

Type: Boolean

See Also:
Constant Field Values

USERNAME

public static final String USERNAME
Key for the login user name for Login dialog.

Type: String

See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
Key for the login password for Login dialog.

Type: char[]

See Also:
Constant Field Values

FEEDBACK_ACTION_URL

public static final String FEEDBACK_ACTION_URL
Key for the feedback action url which to post the feedback.

Type: java.net.URL

See Also:
Constant Field Values

FEEDBACK_REALNAME_PARAM_NAME

public static final String FEEDBACK_REALNAME_PARAM_NAME
Key for the feedback realname parameter name.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_EMAIL_PARAM_NAME

public static final String FEEDBACK_EMAIL_PARAM_NAME
Key for the feedback email parameter name.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_SUBJECT_PARAM_NAME

public static final String FEEDBACK_SUBJECT_PARAM_NAME
Key for the feedback subject parameter name.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_SUBJECT_PARAM_VALUE

public static final String FEEDBACK_SUBJECT_PARAM_VALUE
Key for the feedback subject parameter value.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_CONTENT_PARAM_NAME

public static final String FEEDBACK_CONTENT_PARAM_NAME
Key for the feedback content parameter name.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_RECIPIENT_PARAM_NAME

public static final String FEEDBACK_RECIPIENT_PARAM_NAME
Key for the feedback recipient parameter name.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_RECIPIENT_PARAM_VALUE

public static final String FEEDBACK_RECIPIENT_PARAM_VALUE
Key for the feedback recipient parameter value.

Type: java.lang.String

See Also:
Constant Field Values

FEEDBACK_SUBJECT_SELECTED_INDEX

public static final String FEEDBACK_SUBJECT_SELECTED_INDEX
Key for the feedback subject selected index.

Type: java.lang.Integer

See Also:
Constant Field Values

PRIVACY_URL

public static final String PRIVACY_URL
Key for the privacy url.

Type: java.net.URL

See Also:
Constant Field Values

MINIMUM_SIZE

public static final String MINIMUM_SIZE
Key for the dialog minimum size.

Type: java.awt.Dimension

Since:
JDataGrid 2.0
See Also:
Constant Field Values

WEBSITE_URL

public static final String WEBSITE_URL
See Also:
Constant Field Values

WEBSITE_LOGO

public static final String WEBSITE_LOGO
See Also:
Constant Field Values

WEBSITE_LOGO_TEXT

public static final String WEBSITE_LOGO_TEXT
See Also:
Constant Field Values

WEBSITE_LOGO_BACKGROUND

public static final String WEBSITE_LOGO_BACKGROUND
See Also:
Constant Field Values
Constructor Detail

JCommonPane

public JCommonPane()
Method Detail

getDefaultTinySize

public static Dimension getDefaultTinySize()
Returns the default tiny dialog size 320x180.

Since:
JDataGrid 2.0

getDefaultSmallSize

public static Dimension getDefaultSmallSize()
Returns the default small dialog size 320x240.

Since:
JDataGrid 2.0

getDefaultNormalSize

public static Dimension getDefaultNormalSize()
Returns the default normal dialog size 400x300.

Since:
JDataGrid 2.0

getCommonPane

public static JCommonPane getCommonPane(Component centerPanel)
Returns the JCommonPane for current center panel.

Since:
JDataGrid 2.0

getDialog

public static JDialog getDialog(Component centerPanel)
Returns the dialog the current center panel after invoke showDialog methods.

Since:
JDataGrid 2.0

updateUI

public void updateUI()
Overrides:
updateUI in class JComponent

showDialog

public static Map showDialog(Component parent,
                             Map map)
Pops up a common dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to use
Since:
JDataGrid 2.0

showSplashWindow

public static Map showSplashWindow(Component parent,
                                   Map map)
Pops up a splash window contains the JCommonPane and parented to parent.

Parameters:
parent - the parent of the window
map - the map to use
Returns:
the map to use

showAboutDialog

public static Map showAboutDialog(Component parent,
                                  Map map)
Pops up a about dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to use

showTipOfTheDayDialog

public static Map showTipOfTheDayDialog(Component parent,
                                        Map map)
Pops up a tip of the day dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to use

showLoginDialog

public static Map showLoginDialog(Component parent,
                                  Map map)
Pops up a login dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to use
Since:
JDataGrid 1.3

showLocationDialog

public static Map showLocationDialog(Component parent,
                                     Map map)
Pops up a location dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to use
Since:
JDataGrid 1.3

showLookAndFeelDialog

public static Map showLookAndFeelDialog(Component parent,
                                        Map map)
Pops up a look and feel dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to use
Since:
JDataGrid 1.3

showFeedbackDialog

public static Map showFeedbackDialog(Component parent,
                                     Map map)
Pops up a feedback dialog contains the JCommonPane and parented to parent with the dialog having a default title.

Parameters:
parent - the parent of the dialog
map - the map to use
Returns:
the map to return
Since:
JDataGrid 1.7

setHeader

public void setHeader(String header)
Sets the header.

Since:
JDataGrid 2.0

setDescription

public void setDescription(String description)
Sets the description.

Since:
JDataGrid 2.0

setLogoIcon

public void setLogoIcon(Icon icon)
Sets the logo icon.

Since:
JDataGrid 2.0

setLogoText

public void setLogoText(String text)
Sets the logo text.

Since:
JDataGrid 2.0

setBannerImage

public void setBannerImage(Image img)
Sets the banner image.

Since:
JDataGrid 2.0

setSideImage

public void setSideImage(Image img)
Sets the side image.

Since:
JDataGrid 2.0

setBackgroundImage

public void setBackgroundImage(Image backgroundImage)
Sets the background image.

Since:
JDataGrid 2.0

paintComponent

protected void paintComponent(Graphics g)
Overrides:
paintComponent in class JComponent

getPreferredSize

public Dimension getPreferredSize()
Overrides:
getPreferredSize in class JComponent

paramString

protected String paramString()
Returns a string representation of this JCommonPane. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

Overrides:
paramString in class JComponent
Returns:
a string representation of this JCommonPane.

createVendorBannerPanel

public static JComponent createVendorBannerPanel(Map map)
Creates a vendor banner panel. The following properties can be supported:

Returns:
new created banner panel for vendor
Since:
JComponentPack 1.5.0

getAccessibleContext

public AccessibleContext getAccessibleContext()
Gets the AccessibleContext associated with this JCommonPane. For JCommonPanes, the AccessibleContext takes the form of an AccessibleJCommonPane. A new AccessibleJCommonPane instance is created if necessary.

Specified by:
getAccessibleContext in interface Accessible
Overrides:
getAccessibleContext in class JComponent
Returns:
an AccessibleJCommonPane that serves as the AccessibleContext of this JCommonPane

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.