Why are getColumnClass/getColumnName in TableModel, not TableColumnModel?

Shouldn't the TableColumnModel be responsible for keeping information about the table columns? Things such as column classes and names? Why are these things retrieved through TableModel only? This doesn't seem to follow OO concepts, what am I missing?
Along those same lines, why are methods such as getColumnCount() in both TableModel and TableColumnModel? Again, this seems appropriate to TableColumnModel, but not TableModel, except maybe as a convenience. Am I misunderstanding the roles of these models?

The TableModel holds the data for each line and for the headers. So it is naturally the place to ask for informations like "how much rows do I have" or "how much columns do I have" or "what is the name of column x".
The ColumnModel is responsible for specifications on a column, so it naturally should be able to tell all that the TableModel can tell about it, too.
I don't see a problem in being able to ask both. I would be annoyed if I would not be able to do so and I can see no OO principle broken.
Rommie.

Similar Messages

  • Why are most of my keywords not included when I export images?

    Why are most of my keywords not included when I export images?
    Since starting with Lightroom 1, I've entered keywords into either of the two fields between "keyword tags" and "keyword suggestions" in the keywording panel.  I was unaware that some keywords are more equal than others, or that Lightroom offered (or has added?) hierarchy support.
    I recently stumbled into the news (to me) that Lightroom tags can be organized into a hierarchy, so I exported my keywords to a text file to examine.  I hadn't unwittingly created any hierarchies, but an astounding fraction of the keywords were within square brackets.  Sure enough, if I export an image, keywords within square brackets are omitted from the output (jpeg) file.  How nice.  Since I began with Lightroom 1, I've added nearly 1600 keywords.. Too bad most of them are coded wrong... so as not to accompany output that I create.
    1.     What was I supposed to do, as a photographer beginning to use Lightroom, to enter keywords simply but reliably:  what I type is what I get? I'd expected that's what the "just type here" interface would provide.
    I especially dislike obtaining erratic results:  most keywords are in square brackets, but a few are not.  Of course, when I use a simplified interface, I should expect not to have access to some of the options or features.  However, I shouldn't inadvertently trigger undocumented behavior.
    2.     Does the Adobe reference help system say how to enter keywords simply and reliably, in its documentation of the keywording panel? I don't find my answer under the Keywords topic, within Home / Using Photoshop Lightroom 3 / Organizing photos in the catalog.
    (I NOW realize that the instructions for the "Create/Edit keyword tags" dialog mention exporting. However, that's not the method I was using.)
    Dick Rawson

    I'm afraid that I distracted you with my background mention of hierarcharial keywords; I'm not asking about them.
    I've entered keywords for several years of using Lightroom.  Suddenly, this week, I find that most (yet not all) of them have the attribute of "don't include the keyword in an exported file's metadata."  I never intended to ask for that; I thought all keywords will stay with the file and its offspring, and that's what I wanted.
    So I'm asking:
    1.     What did I do "wrong" to induce Lightroom to give the keywords that attribute? I never intended to ask it to.
    2.     Where does Adobe document how to enter keywords reliably so that they stay with the file on output?  I can't find that Adobe does.
    > Can you be more clear about keywords in square brackets? I know when you export the keywords as a list you can get a normalized data file that uses punctuation and tabs as delimiters...
    I did export the keywords into such a list:  most keywords in the plain-text list have square brackets surrounding them, indicating keywords that will be omitted from metadata of any image that Lightroom exports.
    My concern is not that the brackets are there.  They encode the attribute of "don't include the keyword in an exported file's metadata," and recognizing that attribute concerns me.
    > ...but I've never seen keywords in image files or in the interface rendered so.
    I haven't, either.
    Dick Rawson

  • Why are some of my movies not syncing while others are? All of my movies are in m4v form, and some of them sync but some of them don't.

    Why are some of my movies not syncing while others are? All of my movies are in m4v form, and some of them sync but some of them don't. Also, when i try to play my movies on my mac AND ipod, some of my movies just randomly freeze and wont let me continue watching. I dont understand why its doing this.

    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod - http://support.apple.com/kb/TS1497

  • Why are some of my songs not in order in my albums?

    I was wondering why are some of my songs not in order in my albums? This wasn't a problem when I first used i-tunes, but I had to download a newer version of i-tunes to get my sister's ipod to work.  For Example my album "AC DC Live" has track #3 Back in Black as the first song listed.  How can this be fixed?

    Hello igho234,
    Thank you for contacting Apple Support Communities. You don't mention how those songs got onto your playlist, but this article may address your issue, if they were imported from a third-party application or CD.
    iOS: Songs or other audio content are skipped during playback
    http://support.apple.com/kb/TS3159
    Regards,
    Jeff D.

  • Why are some 100% Accurate Rips not matched by iTunes Match?

    Why are some 100% Accurate Rips not matched by iTunes Match?
    Is there an Apple Support employee that can address this question?
    The phenomenom occurs for over 500 of my tracks spread out among 100+ albums.
    Certain tracks simply do not match to the iTunes library, despite being 100% Accurate bit-for-bit Rips. For reference, I use dBpoweramp for ripping, which checks CRC.
    As an example, take Aerosmith's "Get a Grip" album; Tracks 2 and 5 will not Match to iTunes, despite perfect integrity in the ripping process.
    Upon looking further into those particular tracks, I notice a discrepency between the "track length" reported on the iTunes store page, and my accurate rips for those tracks [track 2 & 5 on iTunes: 4:09 & 6:19, respectively; track 2 & 5 direct accurate rip from physical CD: 4:10 & 6:07, respectively].
    So clearly, with track 5, there is a major discrepency, 12 seconds difference, which leads me to think the iTunes release of this album and retail release of the CD I physically own are quite different.
    Well there, I guess I've solved the "reason" for the undesired functionality, but it certainly doesn't solve the issue at hand.
    A major aspect of the iTunes Match product is To Match, so that, in part, bit-rate upgrades can take place, and also to provide management and format uniformity.  I do realize that there is no guarantee iTunes has every album one could own, and entirely un-matched, and thereby Uploaded, Albums are a significant upside feature of iTunes Match; however, 1+ tracks on each of a significant quantity of albums, which iTunes carries, not matching to iTunes creates heterogeneous-format albums, and significantly more library management.
    If there is a workaround for this issue it would significantly improve the user experience for iTunes Match.  A user shouldn't have many hetereogeneous-format albums when iTunes carries/sells those albums, and the user has perfect quality rips from their physical CD.

    https://discussions.apple.com/community/itunes/search.jspa?peopleEnabled=true&us erID=&containerType=14&container=2882&spotlight=false&q=why%20are%20some%20songs %20on%20an%20album%20not%20matched%3F%20*

  • Why are calls from my favorites not ringing when my phone is silenced at night?

    Why are calls from my favorites not ringing when my phone is silenced at night?

    You Might Have scheduled do not diturb... Turn Of Scheduled button in settings>do not disturb>scheduled..

  • Why are previews in Bridge blurry (not rendering properly)?

    Why are previews in Bridge blurry (not rendering properly)?
    I found a simple answer to this question: control click on the thumbnail and select "purge cache for selection"
    After years of intermittently having this problem, this solved the issue. I had just finished a fresh install of main sys hd (new hd) and first time opening bridge encountered this issue again after not having the problem for a few years.
    Hope this helps others.  

    Why are previews in Bridge blurry (not rendering properly)?
    I found a simple answer to this question: control click on the thumbnail and select "purge cache for selection"
    After years of intermittently having this problem, this solved the issue. I had just finished a fresh install of main sys hd (new hd) and first time opening bridge encountered this issue again after not having the problem for a few years.
    Hope this helps others.  

  • After syncing my music onto my iphone5, why are songs grayed out and not playable

    after syncing my music onto my iphone5, why are songs grayed out and not playable?

    If you are syncing music to the iPhone automatically, you won't be able to drag and drop tracks on to the iPhone and the music will be grayed out.
    You'll have to Manually Manage the music.
    Configure iPhone, iPad, or iPod for manual management
    If you have iTunes 7 or later*, follow these instructions:
    Connect the device to your computer.
    Open iTunes.
    Select iPhone, iPad, or iPod in the Devices list.
    Click the Summary tab and select "Manually manage music and videos".
    Click Apply.
    Even when you have enabled manual management, you can still sync some content automatically. Select any content tab, such as Video, to enable automatic syncing for that type of content.

  • TS3171 Why are most of the sounds not available? eg no steinway or yamaha pianos, virtually no guitars...

    LOGIC PRO
    Why are most of the sounds not available? eg no steinway or yamaha pianos, virtually no guitars...

    Hi
    Assuming that you purchased Logic from the Appstore, did you download all the additional content?
    Go to the Logic Pro menu and choose "Download Additional Content".... there's loads to download, so it is probably best to do it in batches.
    CCT

  • Why are the date and time not updating in backups.backupdb folder?

    I just started using Time Machine on my early 2011 MacBook Pro running 10.7.2. After the initial full back-up and first few updates, the backup folder (on an external 1.5 TB Firewire drive) continues to show the original "date modified" of the very first back-up and lists the size as a ridiculous 2.48 GB. (Using BackupLoupe, I know it actually is 280 GB, reflecting the size of my internal HD). Any idea why this folder's info is not updating in the finder (even using "Get Info")? Are my back-ups really there? (It certainly seems so according to BackupLoupe).

    First, the best way to view or restore from your backups is via the Time Machine display, per Time Machine - Frequently Asked Question #15.  Using the Finder is not recommended.
    Do not worry about the dates.  First, the date modified only applies to the "parent" folder; that's not the Backups.backupdb folder, but the one inside it that's named for your Mac.
    Don't worry about the sizes, either.  On Leopard and Snow Leopard, the size of a backup folder was the total size of all the items that were on your Mac at the time of that backup (less exclusions).  On Lion, however, it's the "unique size" -- the size of items that appear only on that backup.

  • Why are so many home buttons not working like mine? See web comments

    Why are so many home buttons on ipad 2 reported as faulty on the web? Mine is being replaced because of this requiring tedious journeys to Apple Bristol

    Webchats, forums, and news reporters basically talk about what doesn't work, not what does. This site is for people who are having trouble so you don't see many people logging in saying: "I have a perfect iPad!" Consumer non-News would be: "Im John Materese and today no-one returned an iPad to the local Apple Store."
    Sorry you had a bad experience but with millions and millions made and sold, some one is bound to get a defective device. To put it another way, if Apple's defective rate were an industry unheard of 1%, with 15 million iPads sold, that would be 150,000 iPads that had a defect. 1% is a very small number, 150,000 isn't

  • Why are my photos from iphone not on my computer?

    why are my photos from my iphone not on my computer?

    Someone actually responded to me in another thread:
    https://discussions.apple.com/message/16418849#16418849
    Told me to try unchecking the box to sync Photos.
    Do a sync.
    Then check the box.
    And sync again.
    Going to try that now. Let me know if it works for you James
    Cheers

  • Why are my songs i purchased not on itunes anymore except the 25 i just downloaded from my phone

    why are all my songs not on my itunes except for the last 25 i just downloaded from my phone?? it erased like 300 songs.. im not a very happy person cus i purchased half of those songs

    Hi tracyloghry,
    This article contains information on locating missing media:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    You can also download previous purchases by following this article:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    Cheers!
    - Ari

  • Why are updates on failed line not being sent?

    my line has been out since since Monday and today is thursday. I had a couple of texts on tuesday morning after reporting the fault on monday night and thats been it.
    why are the updates non-existent? or is it a case of 'we don't know whats wrong?
    Solved!
    Go to Solution.

    It is up to Openreach to tell the service providers like BT and others it may be listed here on the service status board https://www.bt.com/consumerFaultTracking/public/faults/tracking.do?pageId=31    
    Openreach do not deal directly with the public only service providers 
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Why are some items on itunes not available in other countries. like the book world war z by max brooks?

    ok so i want to buy max brooks novel WWZ from the uk itunes store. but i cant becuase its only available in the USA..... why is that? why are some things limited to certain countries? im gonna go to the local book store and just buy a (much cheaper) hard back copy anyway, but it genuinely makes zero sense why itunes does this. very frustrating is a understatement as this happens with music and videos also! ......

    It's the content providers decision, not Apple - the book publisher, record company, film studio have to grant Apple a license to sell their content in each country. So if the book publisher has only granted Apple a license to sell it in the US store but not the UK store, then Apple can't put in in the UK store.

Maybe you are looking for

  • Digital Signatures Help Requested

    I looked through the forums and there was one thread not too long ago that talked about digital signatures but didn't seem to focus on this particular problem, so I figured I'd start a new one hoping someone would have some advice. We receive a docum

  • Worst set of instructions I have ever seen

    My daughter bought an ipod nano today. She has had an mp3 player for some time, and she liked the one her cousing had. Manual said to connect usb to her computer, and add songs. Just like her My Music player. Right? Wrong. She spent hours adding song

  • INSERT in PLSQL loop  in Oracle 9i  scheduled job has poor performance

    Hi, I have a scheduled job running in Oracle 9i. But everytime it executes the following piece of code, the INSERT process slows down drastically. -------------------------------typical piece of code having problem-----------------------------------

  • HT1414 where can i change the location of the backup during a software update?

    hey during th software update i got a message that the backup could not be made due to enough free space on my C disk. is there a option to change this to an other location like my D partition

  • SelectOneChoice SET

    Hi All, I have following code snippet. <af:selectOneChoice value="#{bindings.TableUsersView1CustId.inputValue}" label="#{bindings.TableUsersView1CustId.label}" binding="#{backing_create.selectOneChoice3}" required="false" valuePassThru="true" partial