|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--adm.CPen
Pen data model for CStripChart. It does not remember the history data. It only returns the current data and the met-data.
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
CPen()
Null constructor. |
|
CPen(java.lang.String dName,
java.lang.String pName)
Constructor with parameters |
Method Summary | |
void |
deviceChanged(DeviceEvent de)
|
java.lang.String |
getDeviceName()
Return the device name to which this component is connected. |
double |
getDisplayHi()
Return display high |
double |
getDisplayLo()
Return display low |
double |
getNewValue()
|
java.awt.Color |
getPenColor()
Return the color of Pen |
java.lang.String |
getPropertyName()
Return the device property name to which this component is connected. |
void |
setDeviceAndPropertyName(java.lang.String newDeviceName,
java.lang.String newPropertyName)
Set device name and device property name |
void |
setDeviceName(java.lang.String newName)
Set the Device name |
void |
setDisplayHi(double hi)
set display high. |
void |
setDisplayLo(double lo)
set display low. |
void |
setDisplayRange(double min,
double max)
Set display range. |
void |
setPenColor(java.awt.Color aColor)
Set the color of Pen |
void |
setPropertyName(java.lang.String newName)
Set device property name |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addNotify,
addPropertyChangeListener,
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,
getMinimumSize,
getName,
getParent,
getPeer,
getPreferredSize,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
invalidate,
isDisplayable,
isDoubleBuffered,
isEnabled,
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,
paint,
paintAll,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
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 CPen()
public CPen(java.lang.String dName, java.lang.String pName)
dName
- the name of device this Pen connectedpName
- the name of property this Pen connectedMethod Detail |
public void setDeviceName(java.lang.String newName)
newName
- the name of device you want to connectpublic java.lang.String getDeviceName()
public void setPropertyName(java.lang.String newName)
newName
- the name of device property you want to connectpublic java.lang.String getPropertyName()
public void setDeviceAndPropertyName(java.lang.String newDeviceName, java.lang.String newPropertyName)
newDeviceName
- the device name you want to connectnewPropertyName
- the device property name you want to connectpublic void setPenColor(java.awt.Color aColor)
public java.awt.Color getPenColor()
public void setDisplayRange(double min, double max)
min
- the display low valuemax
- the display high valuepublic void setDisplayHi(double hi)
hi
- the display high valuepublic void setDisplayLo(double lo)
lo
- the display low valuepublic double getDisplayHi()
public double getDisplayLo()
public double getNewValue()
public void deviceChanged(DeviceEvent de)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |