public class CollapsibleButtonPanel extends JPanel
| Modifier and Type | Class and Description |
|---|---|
static class |
CollapsibleButtonPanel.CollapsibleLabel |
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
CollapsibleButtonPanel(boolean right2left) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addImpl(Component comp,
Object constraints,
int index) |
protected void |
calculatedCustomWidth(float fraction,
boolean animated) |
static boolean |
computeIntersection(Rectangle dest,
int rx,
int ry,
int rw,
int rh) |
void |
doActionDeploy(boolean animate) |
LayoutManager |
getLayout() |
Dimension |
getMaximumSize() |
Dimension |
getPreferredSize() |
void |
initPermissions() |
boolean |
isDeploy() |
boolean |
isFirstShow() |
boolean |
isFirstTime() |
boolean |
isRestricted() |
protected boolean |
isVerticalOrientation() |
void |
paint(Graphics g) |
void |
setDeploy(boolean deploy) |
void |
setFirstShow(boolean doFirstShow)
Configure how the component must appear the first time (expanded or
collapsed)
|
void |
setLayout(LayoutManager mgr) |
void |
setOpaque(boolean isOpaque) |
void |
setPreferredSize(Dimension preferredSize) |
void |
validate() |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, 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, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, 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, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, 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, 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, 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, transferFocusBackward, transferFocusUpCyclepublic static final String COLLAPSIBLEBUTTONPANEL
public static final String ORIENTATION
public static final String REVERSE_ICON
public static final String HORIZONTAL_ORIENTATION_VALUE
public static final String VERTICAL_ORIENTATION_VALUE
public static final int HORIZONTAL_ORIENTATION
public static final int VERTICAL_ORIENTATION
public static String leftIconPath
public static String rightIconPath
public static Color backgroundColor
public static Color lineBorderColor
protected int orientation
protected JPanel innerComponent
protected JViewport viewPort
protected boolean deployedState
protected boolean expandHorizontal
protected boolean expandVertical
protected boolean expandLast
protected int verticalAlignment
protected Object attribute
protected int borderStyle
protected String title
protected int deployTime
protected boolean animated
protected Timer timer
public int customHeight
public int customWidth
public int minHeight
public int minWidth
protected String tiptext
protected boolean doFirstShow
protected boolean firstTime
protected String baseTooltip
protected boolean reverseIcons
protected boolean initiatedPreferences
protected Form parentForm
protected CollapsibleButtonPanel.CollapsibleLabel collapsibleLabel
protected long cycleStart
public void paint(Graphics g)
paint in class JComponentprotected void calculatedCustomWidth(float fraction,
boolean animated)
public void doActionDeploy(boolean animate)
public boolean isDeploy()
public void setDeploy(boolean deploy)
public static boolean computeIntersection(Rectangle dest, int rx, int ry, int rw, int rh)
public void initPermissions()
public boolean isRestricted()
public void setLayout(LayoutManager mgr)
public Dimension getPreferredSize()
getPreferredSize in class JComponentpublic Dimension getMaximumSize()
getMaximumSize in class JComponentprotected boolean isVerticalOrientation()
public void setPreferredSize(Dimension preferredSize)
setPreferredSize in class JComponentpublic LayoutManager getLayout()
public void setOpaque(boolean isOpaque)
setOpaque in class JComponentpublic boolean isFirstShow()
public void setFirstShow(boolean doFirstShow)
doFirstShow - public boolean isFirstTime()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.