VkModified(3x) VkModified(3x)
VkModified - Base class for VkModifiedAttachment
VkCallbackObject
#include <Vk/VkModified.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
virtual void ~VkModified(void);
VkModified(Boolean blankIsValue = False);
Configuration [Toc] [Back]
virtual void fixPreviousValue(char* value,
Boolean setValueAlso = True);
Access Functions [Toc] [Back]
Boolean blankIsValue(void);
Boolean modified(void);
char* value(void);
Boolean latestDisplay(void);
char* previousValue(void);
Control Functions [Toc] [Back]
virtual void setModified(Boolean v);
virtual void toggleDisplay(void);
virtual void setValue(char* value);
VkModified is the base class for VkModifiedAttachment. Applications
will usually use VkModifiedAttachment, but find the methods
inherited from VkModified useful.
FUNCTION DESCRIPTIONS [Toc] [Back] VkModified()
VkModified(Boolean blankIsValue = False);
virtual void ~VkModified(void);
Creates a VkModified object which tracks previous and current text
values. It tells when the previous value differs from the current
value, and can returns the selected value.
Page 1
VkModified(3x) VkModified(3x)
The first argument defaults to False and indicates whether a blank
(empty string) is considered a valid previous value when displaying
the folded corner.
blankIsValue()
Boolean blankIsValue(void);
Indicates whether a blank is considered a valid previous value.
modified()
Boolean modified(void);
Indicates whether the previous value differs from the current value.
setModified()
virtual void setModified(Boolean v);
Forces a previous-value-modified state.
latestDisplay()
Boolean latestDisplay(void);
Indicates if the displayed value is the current value rather than
the previous value.
toggleDisplay()
virtual void toggleDisplay(void);
Switches the displayed value from the current value to the previous
value and vice-versa.
value()
char* value(void);
Returns the current value.
previousValue()
char* previousValue(void);
Returns the previous value.
setValue()
virtual void setValue(char* value);
Page 2
VkModified(3x) VkModified(3x)
Changes the current value. This also forces the display to the
current value.
fixPreviousValue()
virtual void fixPreviousValue(char* value,
Boolean setValueAlso = True);
Forces the previous value to be a fixed string. The second argument
defaults to True and indicates whether the current value should be
changed at the same time.
KNOWN DERIVED CLASSES [Toc] [Back] VkModifiedAttachment
KNOWN CLASSES THAT USE THIS CLASS [Toc] [Back] VkModified
VkModified,
ViewKit Programmer's Guide
The X Window System, DEC Press, Bob Sheifler and Jim Gettys
The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
The OSF/Motif Programmers Reference, Prentice Hall, OSF
PPPPaaaaggggeeee 3333 [ Back ]
|