Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1155

GUI structure

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "dwj" <dwj@THRWHITE.remove-dii-this>
Subject GUI structure
Message-ID <1173688886.417133.85500@s48g2000cws.googlegroups.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 22
Date Wed, 27 Apr 2011 15:31:40 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918300 96.60.20.240 (Wed, 27 Apr 2011 10:31:40 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:31:40 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1155

Show key headers only | View raw


  To: comp.lang.java.gui
My application... I have a series of image processing filters which are
derived from an IFilter base class.  The filters which are applied to
an image are decided by the user (the user uses a tick box to select
them).  These are then stored in a list which are iterated through
when a new image arriveds.

My problem... Each of the image processing filters has its own set of
bespoke attributes (such as threshold) that I want the user to be able
to view and set.  When these are set, I then want them to be updated
in the filter object which the values apply to.  I was thinking of
creating a different form for each filter to set and view the
attributes but I am unsure how I should link the forms to the filter
classes.  An instance of each filter class won't always exist.

Is it as simple as just creating an association between the form and
relevant filter?  This doesn't seem like very good design.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

GUI structure "dwj" <dwj@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
  Re: GUI structure "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

csiph-web