tico.interpreter.components
Class TInterpreterCell
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JButton
tico.interpreter.components.TInterpreterCell
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.SwingConstants
public class TInterpreterCell
- extends javax.swing.JButton
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
java.awt.Component.BaselineResizeBehavior |
Fields inherited from class javax.swing.AbstractButton |
BORDER_PAINTED_CHANGED_PROPERTY, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTY |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, 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 javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary |
java.awt.Color |
getAlternativeBorderColor()
|
int |
getAlternativeBorderSize()
|
javax.swing.ImageIcon |
getAlternativeIcon()
|
java.lang.String |
getBoardToGo()
|
java.awt.Color |
getBorderColor()
|
float |
getBorderSize()
|
java.awt.Point |
getCenter()
|
java.lang.String |
getCommand()
|
javax.swing.ImageIcon |
getDefaultIcon()
|
java.lang.String |
getSoundPath()
|
java.lang.String |
getTextAreaToSend()
|
java.lang.String |
getTextToSend()
|
int |
getTimeSending()
|
java.lang.String |
getVideoPath()
|
java.lang.String |
getVideoURL()
|
int |
getXVideo()
|
int |
getYVideo()
|
boolean |
isAccumulated()
|
boolean |
isTransparentBackground()
|
boolean |
isTransparentBorder()
|
void |
paint(java.awt.Graphics g)
|
void |
setAccumulated(boolean accumulated)
|
TInterpreterCell |
setActionsAttributes(java.lang.String soundPath,
java.lang.String videoPath,
java.lang.String videoURL,
java.lang.String command)
|
void |
setAlternativeBorderColor(java.awt.Color borderColor)
|
void |
setAlternativeBorderSize(int borderSize)
|
void |
setAlternativeIcon(javax.swing.ImageIcon icon)
|
TInterpreterCell |
setAttributes(java.lang.String id,
java.awt.Rectangle bounds,
java.lang.String text,
java.awt.Font font,
java.awt.Color textColor,
int verticalTextPosition,
javax.swing.ImageIcon icon,
float borderSize,
java.awt.Color borderColor,
java.awt.Color backgroundColor,
java.awt.Color gradientColor,
boolean transBackground,
boolean transBorder,
javax.swing.ImageIcon alternativeIcon)
|
TInterpreterCell |
setAttributes2(java.lang.String id,
java.awt.Rectangle bounds,
java.lang.String texto,
java.awt.Font f,
java.awt.Color textColor,
javax.swing.ImageIcon icon)
|
void |
setBoardToGo(java.lang.String boardToGo)
|
void |
setBorderColor(java.awt.Color borderColor)
|
void |
setBorderSize(int borderSize)
|
void |
setCenter(java.awt.Point center)
|
void |
setDefaultIcon(javax.swing.ImageIcon icon)
|
void |
setTextAreaToSend(java.lang.String textArea)
|
void |
setTextToSend(java.lang.String textToSend)
|
void |
setTimeSending(int timeSending)
|
void |
setXVideo(int xVideo)
|
void |
setYVideo(int yVideo)
|
Methods inherited from class javax.swing.JButton |
getAccessibleContext, getUIClassID, isDefaultButton, isDefaultCapable, removeNotify, setDefaultCapable, updateUI |
Methods inherited from class javax.swing.AbstractButton |
addActionListener, addChangeListener, addItemListener, doClick, doClick, getAction, getActionCommand, getActionListeners, getChangeListeners, getDisabledIcon, getDisabledSelectedIcon, getDisplayedMnemonicIndex, getHideActionText, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getItemListeners, getLabel, getMargin, getMnemonic, getModel, getMultiClickThreshhold, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, removeActionListener, removeChangeListener, removeItemListener, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setEnabled, setFocusPainted, setHideActionText, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setLayout, setMargin, setMnemonic, setMnemonic, setModel, setMultiClickThreshhold, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPosition |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, 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, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, 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, 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
font
public java.awt.Font font
textColor
public java.awt.Color textColor
verticalTextPosition
public int verticalTextPosition
icon
public javax.swing.ImageIcon icon
borderSize
public float borderSize
borderColor
public java.awt.Color borderColor
backgroundColor
public java.awt.Color backgroundColor
gradientColor
public java.awt.Color gradientColor
transparentBackground
public boolean transparentBackground
transparentBorder
public boolean transparentBorder
accumulated
public boolean accumulated
textAreaToSend
public java.lang.String textAreaToSend
timeSending
public int timeSending
textToSend
public java.lang.String textToSend
altBorderSize
public int altBorderSize
altBorderColor
public java.awt.Color altBorderColor
boardToGo
public java.lang.String boardToGo
soundPath
public java.lang.String soundPath
videoPath
public java.lang.String videoPath
videoURL
public java.lang.String videoURL
xVideo
public int xVideo
yVideo
public int yVideo
command
public java.lang.String command
center
public java.awt.Point center
TInterpreterCell
public TInterpreterCell()
getBorderSize
public float getBorderSize()
setBorderSize
public void setBorderSize(int borderSize)
getBorderColor
public java.awt.Color getBorderColor()
setBorderColor
public void setBorderColor(java.awt.Color borderColor)
getCenter
public java.awt.Point getCenter()
setCenter
public void setCenter(java.awt.Point center)
getCommand
public java.lang.String getCommand()
isTransparentBorder
public boolean isTransparentBorder()
isTransparentBackground
public boolean isTransparentBackground()
setAccumulated
public void setAccumulated(boolean accumulated)
isAccumulated
public boolean isAccumulated()
getTextAreaToSend
public java.lang.String getTextAreaToSend()
setTextAreaToSend
public void setTextAreaToSend(java.lang.String textArea)
getTimeSending
public int getTimeSending()
setTimeSending
public void setTimeSending(int timeSending)
getTextToSend
public java.lang.String getTextToSend()
setTextToSend
public void setTextToSend(java.lang.String textToSend)
getAlternativeBorderSize
public int getAlternativeBorderSize()
setAlternativeBorderSize
public void setAlternativeBorderSize(int borderSize)
getAlternativeBorderColor
public java.awt.Color getAlternativeBorderColor()
setAlternativeBorderColor
public void setAlternativeBorderColor(java.awt.Color borderColor)
getAlternativeIcon
public javax.swing.ImageIcon getAlternativeIcon()
setAlternativeIcon
public void setAlternativeIcon(javax.swing.ImageIcon icon)
getDefaultIcon
public javax.swing.ImageIcon getDefaultIcon()
setDefaultIcon
public void setDefaultIcon(javax.swing.ImageIcon icon)
getBoardToGo
public java.lang.String getBoardToGo()
setBoardToGo
public void setBoardToGo(java.lang.String boardToGo)
getSoundPath
public java.lang.String getSoundPath()
getVideoPath
public java.lang.String getVideoPath()
getVideoURL
public java.lang.String getVideoURL()
getXVideo
public int getXVideo()
setXVideo
public void setXVideo(int xVideo)
getYVideo
public int getYVideo()
setYVideo
public void setYVideo(int yVideo)
setAttributes
public TInterpreterCell setAttributes(java.lang.String id,
java.awt.Rectangle bounds,
java.lang.String text,
java.awt.Font font,
java.awt.Color textColor,
int verticalTextPosition,
javax.swing.ImageIcon icon,
float borderSize,
java.awt.Color borderColor,
java.awt.Color backgroundColor,
java.awt.Color gradientColor,
boolean transBackground,
boolean transBorder,
javax.swing.ImageIcon alternativeIcon)
setActionsAttributes
public TInterpreterCell setActionsAttributes(java.lang.String soundPath,
java.lang.String videoPath,
java.lang.String videoURL,
java.lang.String command)
setAttributes2
public TInterpreterCell setAttributes2(java.lang.String id,
java.awt.Rectangle bounds,
java.lang.String texto,
java.awt.Font f,
java.awt.Color textColor,
javax.swing.ImageIcon icon)
paint
public void paint(java.awt.Graphics g)
- Overrides:
paint
in class javax.swing.JComponent