|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--vipratech.awt.VCanvas | +--vipratech.beans.standardbeans.ScaleButton
This bean show a button which multiple some values in the selected range.
It communicate with other beans about PropertyValue "Scale", the first value is the actual displayed number.
Fields inherited from class vipratech.awt.VCanvas |
fm |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
ScaleButton()
The Constructor |
Method Summary | |
void |
addActionListener(java.awt.event.ActionListener listener)
Allows this component to be wired at design time with action listeners |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Allows property change listeners to be registered at design time. |
void |
drawButton(java.awt.Graphics g)
Method which draw the button |
java.awt.Color |
getBackround()
Method return the background |
java.awt.Dimension |
getMinimumSize()
Method return the Minimumsize |
java.awt.Dimension |
getNewSize()
Method return the Newsize |
int |
getScale()
Method return the scalerange |
int |
getScaleend()
Method return the scaleend |
int |
getScalestart()
Method return the scalestart |
int |
getScalesteps()
Method return scalesteps |
int |
getValue()
Method return the value |
boolean |
isEnabled()
Method return the status |
void |
paint(java.awt.Graphics g)
Method for showing all on the screen |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Method for handling the propertychange events : locale |
void |
removeActionListener(java.awt.event.ActionListener listener)
Allows this component to be un-wired at design time with action listeners |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Allows property change listeners to be de-registered at design time. |
void |
sendData()
Method for sending the data |
void |
setBackround(java.awt.Color newBackround)
Method for seting the background |
void |
setEnabled(boolean newEnabled)
Method for set the bean enabled |
void |
setScaleend(int newScaleend)
Method set the scaleend |
void |
setScalestart(int newScalestart)
Method set the scalestart |
void |
setScalesteps(int newScalesteps)
Method set scalesteps |
Methods inherited from class java.awt.Canvas |
addNotify |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
dispatchEvent,
doLayout,
enable,
enable,
enableInputMethods,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getMaximumSize,
getName,
getParent,
getPeer,
getPreferredSize,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
invalidate,
isDisplayable,
isDoubleBuffered,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
layout,
list,
list,
list,
list,
list,
locate,
location,
lostFocus,
minimumSize,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setFont,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus,
update,
validate |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ScaleButton()
Method Detail |
public void addActionListener(java.awt.event.ActionListener listener)
public void removeActionListener(java.awt.event.ActionListener listener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
public final void propertyChange(java.beans.PropertyChangeEvent event)
public final java.awt.Dimension getNewSize()
public final java.awt.Dimension getMinimumSize()
public void paint(java.awt.Graphics g)
public void drawButton(java.awt.Graphics g)
public void setEnabled(boolean newEnabled)
public boolean isEnabled()
public void sendData()
public void setBackround(java.awt.Color newBackround)
public java.awt.Color getBackround()
public int getScale()
public void setScalestart(int newScalestart)
public int getScalestart()
public void setScaleend(int newScaleend)
public int getScaleend()
public void setScalesteps(int newScalesteps)
public int getScalesteps()
public int getValue()
|
dathe@chemie.uni-leipzig.de" | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |