Hi,
can we create components in object oriented manner, for example in our prototype we have multiple tabs and every tab has same combination of components. Is there any way we can create one class for total tab content and we can use that object for every tab and they will act as individually with out defining different variable names for each component in different tabs.If we can do it please give me some examples.
also for OO we want to have capability to update the contents dynamically
for example when we create and object...and stick it to the outer container panel
and then we should write the methiods to update it at the object level
so object contains visual representation
and data model as well
where visual representation added to outer frames
and data model is inbuilt with in the object so that for new and modify
we will update either with default values or database values....by takign the reference of the object
and the layout part of it is to be added to the outer containment
so basically contianment and layout is one part of the object and each object we should define the model where model level we will expose the methods for public access and inside it will update the calls to the compoenent values...
basically for the outer layout object how to have the model representaiton like AWT...i guess we can do that...but if we have examples that isbetter...if we look at the table data example we will know how to maintain the presentation and model side...basically the MVC part how to make it happen
please check our prototype at http://apache.cricnjoy.com/simpics/SmartClient/smartclientSDK/examples/myAtoks/prototype1.html
in our prototype when we click "Show Search Options" or "Hide Search Options" we are getting flicker why we are getting is there any problem with setting attributes.
Thank you,
can we create components in object oriented manner, for example in our prototype we have multiple tabs and every tab has same combination of components. Is there any way we can create one class for total tab content and we can use that object for every tab and they will act as individually with out defining different variable names for each component in different tabs.If we can do it please give me some examples.
also for OO we want to have capability to update the contents dynamically
for example when we create and object...and stick it to the outer container panel
and then we should write the methiods to update it at the object level
so object contains visual representation
and data model as well
where visual representation added to outer frames
and data model is inbuilt with in the object so that for new and modify
we will update either with default values or database values....by takign the reference of the object
and the layout part of it is to be added to the outer containment
so basically contianment and layout is one part of the object and each object we should define the model where model level we will expose the methods for public access and inside it will update the calls to the compoenent values...
basically for the outer layout object how to have the model representaiton like AWT...i guess we can do that...but if we have examples that isbetter...if we look at the table data example we will know how to maintain the presentation and model side...basically the MVC part how to make it happen
please check our prototype at http://apache.cricnjoy.com/simpics/SmartClient/smartclientSDK/examples/myAtoks/prototype1.html
in our prototype when we click "Show Search Options" or "Hide Search Options" we are getting flicker why we are getting is there any problem with setting attributes.
Thank you,
Comment