KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > admin > dso > ClientTableModel


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.admin.dso;
5
6 import com.tc.admin.AdminClient;
7 import com.tc.admin.common.XObjectTableModel;
8
9 public class ClientTableModel extends XObjectTableModel {
10   private static final String JavaDoc[] FIELDS = {
11     "Host",
12     "Port",
13     "ChannelID"
14   };
15
16   private static final String JavaDoc[] HEADERS = {
17     AdminClient.getContext().getMessage("dso.client.host"),
18     AdminClient.getContext().getMessage("dso.client.port"),
19     AdminClient.getContext().getMessage("dso.client.channelID")
20   };
21
22   public ClientTableModel() {
23     super(DSOClient.class, FIELDS, HEADERS);
24   }
25 }
26
Popular Tags