|
################################################################## JQuickPlot - Java Quick XY Plots Copyright (C) 2008 Frederic Roudaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation; version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ################################################################### |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJQuickPlot.ColumnList
public class ColumnList
Represent a column List selection for a dots file
Field Summary | |
---|---|
private java.util.List |
_columnList
A List of Columns |
Constructor Summary | |
---|---|
ColumnList()
Default Constructor |
Method Summary | |
---|---|
boolean |
add(Column column)
Add a Column |
boolean |
addColumn(int column)
Add a Column |
boolean |
addColumn(int column,
java.lang.String title)
Add a Column |
void |
display()
Display the object |
Column |
get(int pos)
get a column object from its position |
boolean |
isEmpty()
check if the the Columns List is empty |
static void |
main(java.lang.String[] args)
Main for test purpose |
static ColumnList |
parse(java.lang.String str)
parse a string and return a Column List object |
int |
size()
get the size of the Columns List |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List _columnList
Constructor Detail |
---|
public ColumnList()
Method Detail |
---|
public boolean addColumn(int column, java.lang.String title)
column
- column Numtitle
- column title to display in the legendpublic boolean addColumn(int column)
column
- column Numpublic boolean add(Column column)
column
- Column object to addpublic Column get(int pos)
pos
- position in the Columns Listpublic int size()
public boolean isEmpty()
public static ColumnList parse(java.lang.String str)
str
- the string to parse (use the form columnNum:title;columnNum:title ... )public void display()
public static void main(java.lang.String[] args)
|
################################################################## JQuickPlot - Java Quick XY Plots Copyright (C) 2008 Frederic Roudaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation; version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ################################################################### |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |