|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--vipratech.awt.VPanel | +--vipratech.beans.vtbeans.DreierMagnetVentil
The DreierMagnetVentil class display MagnetVentil that can be changed by mouse pressed events by changing its color of the round in the middle of the Ventil
On mouse release the button generates an action event object which is sent to any registered action listeners.It sends a vector with the value for open and closed in/outputs
The Input is selected and the other two ways are the outputs which is selected on the connected beans like gaslines or so on.
For using this with tubes you must connect one tube through propertychange to the DreierMagnetventil, then connect the DreierMagnetVentil with the other two tubes and selecte on the tubes the number where the tubes are connected.
Fields inherited from class vipratech.awt.VPanel |
fm |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
DreierMagnetVentil()
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)
Method to register property change listeners at design time. |
int |
getDesign()
Method to get the Design |
int |
getEingang()
Method to get the input |
int |
getGasname()
Method for getting the Gasname which is selected |
java.awt.Dimension |
getMinimumSize()
Method for getting the minium size |
java.awt.Dimension |
getNewSize()
Method for getting the new size |
int |
getVentilnummer()
|
boolean |
isEnabled()
Method to get the kettle Status |
boolean |
isShownumber()
Method to getting information about the showing of the numbers |
void |
paint(java.awt.Graphics g)
Method to draw all on the screen |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Method for property change, interprets the GasArt and the Status |
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)
Method to de-register property change listeners at design time. |
void |
sendData()
Method to send the data in the Vector v1values |
void |
setDesign(int newDesign)
Method to set the Design between 1;2;3;4 |
void |
setEingang(int newEingang)
Method to set the input |
void |
setEnabled(boolean newEnabled)
Method to set the kettle enabled |
void |
setGasname(int newGasname)
Method to set the Gasname which is getting from propertychange |
void |
setShownumber(boolean newShownumber)
Method to set the number in kettle shown |
void |
setVentilnummer(int newVentilnummer)
Method to set the kettlenumber between 1 - 3 |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
contains,
createImage,
createImage,
disable,
dispatchEvent,
enable,
enable,
enableInputMethods,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public DreierMagnetVentil()
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 void paint(java.awt.Graphics g)
public final java.awt.Dimension getNewSize()
public final java.awt.Dimension getMinimumSize()
public void setVentilnummer(int newVentilnummer)
public int getVentilnummer()
public void sendData()
public void setGasname(int newGasname)
public int getGasname()
public void setEingang(int newEingang)
public int getEingang()
public void setDesign(int newDesign)
public int getDesign()
public void setEnabled(boolean newEnabled)
public boolean isEnabled()
public void setShownumber(boolean newShownumber)
public boolean isShownumber()
|
dathe@chemie.uni-leipzig.de" | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |