public class DPopLabel extends javax.swing.JPanel implements LabelActor
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
CHECKBOX |
(package private) boolean |
fixedSize |
(package private) java.lang.String |
latestChoice |
(package private) Menued |
menued |
(package private) LabelActor |
ml |
(package private) javax.swing.JPopupMenu |
mymenu |
(package private) java.lang.String[] |
options |
(package private) DButton |
popB |
(package private) static long |
serialVersionUID |
private static java.lang.String |
SHOW_MENU |
static int |
SIMPLE |
(package private) int |
type |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
DPopLabel(java.lang.String s) |
DPopLabel(java.lang.String s,
java.lang.String itxt) |
Modifier and Type | Method and Description |
---|---|
void |
addAlphabeticizedSubsetted(java.lang.String[] sain) |
void |
addCheckboxItem(java.lang.String s,
boolean b) |
void |
addHierarchical(java.lang.String[] sa) |
void |
addHierarchical(java.lang.String[] sain,
boolean b) |
void |
addItem(java.lang.String s) |
void |
addItem(java.lang.String s,
boolean b) |
void |
addItems(java.lang.String[] sa) |
void |
addMenuOptions(java.lang.String[] sa) |
void |
addOptions(java.util.ArrayList<java.lang.String> v) |
void |
addSeparator() |
void |
armSelection(java.lang.String s) |
void |
checkNames() |
void |
clear() |
void |
deliverLabelAction(java.lang.String sarg,
boolean b) |
java.lang.String |
getLabel() |
java.lang.String[] |
getNames() |
java.awt.Dimension |
getPreferredSize() |
boolean[] |
getStates() |
java.lang.String |
getText() |
private int |
growMenu(java.lang.Object tpm,
java.lang.String schop,
java.lang.String[] sa,
int i0) |
void |
hideMenu() |
void |
labelAction(java.lang.String sarg,
boolean b) |
void |
myShowMenu() |
private java.lang.String[] |
myStringSort(java.lang.String[] sa) |
void |
removeAll() |
void |
repaintMenu() |
void |
setBg(java.awt.Color c) |
void |
setEnabled(boolean b) |
void |
setFixedSize(boolean b) |
void |
setLabel(java.lang.String s) |
void |
setLabelActor(LabelActor ml) |
void |
setMenued(Menued md) |
void |
setMenuOptions(java.util.ArrayList<java.lang.String> v) |
void |
setMenuOptions(java.lang.String[] sa) |
void |
setOptions(java.util.ArrayList<java.lang.String> v) |
void |
setState(java.lang.String s,
boolean b) |
void |
setStates(java.lang.String[] onm,
boolean[] ob) |
void |
setText(java.lang.String sin) |
void |
setType(int ityp) |
void |
showMenu() |
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, 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, 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, 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, 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, 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, transferFocusUpCycle
private static final java.lang.String SHOW_MENU
static final long serialVersionUID
int type
boolean fixedSize
public static final int SIMPLE
public static final int CHECKBOX
javax.swing.JPopupMenu mymenu
DButton popB
java.lang.String latestChoice
LabelActor ml
Menued menued
java.lang.String[] options
public DPopLabel(java.lang.String s)
public DPopLabel(java.lang.String s, java.lang.String itxt)
public void setBg(java.awt.Color c)
public void clear()
public void setLabel(java.lang.String s)
public void setEnabled(boolean b)
setEnabled
in class javax.swing.JComponent
public void setLabelActor(LabelActor ml)
public void setFixedSize(boolean b)
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
public void setType(int ityp)
public void setText(java.lang.String sin)
public java.lang.String getText()
public java.lang.String getLabel()
public void myShowMenu()
public void showMenu()
public void hideMenu()
public void armSelection(java.lang.String s)
public void repaintMenu()
public void labelAction(java.lang.String sarg, boolean b)
labelAction
in interface LabelActor
public void deliverLabelAction(java.lang.String sarg, boolean b)
public void checkNames()
public java.lang.String[] getNames()
public boolean[] getStates()
public void setStates(java.lang.String[] onm, boolean[] ob)
public void setState(java.lang.String s, boolean b)
public void addItem(java.lang.String s)
public void addItem(java.lang.String s, boolean b)
public void addItems(java.lang.String[] sa)
public void addCheckboxItem(java.lang.String s, boolean b)
public void addSeparator()
public void removeAll()
removeAll
in class java.awt.Container
public void addHierarchical(java.lang.String[] sain, boolean b)
public void addOptions(java.util.ArrayList<java.lang.String> v)
public void addMenuOptions(java.lang.String[] sa)
public void setMenued(Menued md)
public void setOptions(java.util.ArrayList<java.lang.String> v)
public void setMenuOptions(java.util.ArrayList<java.lang.String> v)
public void setMenuOptions(java.lang.String[] sa)
public void addHierarchical(java.lang.String[] sa)
private int growMenu(java.lang.Object tpm, java.lang.String schop, java.lang.String[] sa, int i0)
public void addAlphabeticizedSubsetted(java.lang.String[] sain)
private java.lang.String[] myStringSort(java.lang.String[] sa)
Copyright © 2013. All Rights Reserved.