Hi Nishant,
ULCTextField doesn't
have an api (to add TextVerifier and PlainDocument) like JTextField
so is
there any way by which I can add both to ULCText field.
A ULC application runs on the server whereas the user interface of an
ULC application runs on the client.
Consider a ULC application that somewhere in its logic sets a new text
in a ULCTextField. The ULCTextFields sends this new text over the
network to his counter piece on the client side, i.e. to a
UITextField. The UITextField then delegates this new text to the user
interface element, i.e. a JTextField.
This mechanism happens for
* state changes on the server: ULCTextField notifies UITextField which
itself notifies JTextField
* state changes on the client: JTextField notifies UITextField which
itself notifies ULCTextField
* events on the client: JTextField notifies UITextField which itsefle
notifies ULCTextField
For all cases this means sending data over a network. As this is an
expensive operation it is not meaningful to use this mechanism for
frequent operations. We consider operations on the PlainDocument and
on the TextVerifier as frequent therefor the API is not available on
the server-side API.
ULC provides data types as a replacement for PlainDocuments and
TextVerifiers: e.g. ULCDateDataType, ULCNumberDataType,
ULCRegularExpressionDataType.
You can implement custom data types if the functionality of the
existing data types is not sufficient.
Regards Dany
On 13.01.2008, at 12:45, Nishant Srivastava wrote:
Hi all,
I am trying to use ULC for making a software where I need to add
TextVerifier and PlainDocument to a ULCTextField but ULCTextField
doesn't
have an api (to add TextVerifier and PlainDocument) like JTextField
so is
there any way by which I can add both to ULCText field.
Regards,
Nishant Srivastava
Disclaimer: This email (including any attachments) is intended for
the sole
use of the recipient/s and may contain material that is
CONFIDENTIAL. Any
unauthorized disclosure / copying / distribution or forwarding of
this message
or part is STRICTLY PROHIBITED. If you have erroneously received
this message,
please delete it immediately and notify the sender. No liability is
assumed for
any errors and/or omissions in the contents of this message.
Information in
this message that does not relate to the official business of this
Company
shall be understood as neither given nor endorsed by it. If
verification is
required please request a hard-copy version.
To know more about Kale Consultants, visit www.kaleconsultants.com
-=-=-=-=-=-=-=-=-=-
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer