|
################################################################## 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.Column
public class Column
Represent a column selection for a dots file
Field Summary | |
---|---|
private int |
_column
column Num |
private java.lang.String |
_title
column title to display in the legend |
Constructor Summary | |
---|---|
Column()
Default Constructor |
|
Column(int column)
Constructor |
|
Column(int column,
java.lang.String title)
Constructor |
Method Summary | |
---|---|
void |
display()
Display the object |
int |
getColumn()
return the column num |
java.lang.String |
getTitle()
return the title |
boolean |
isTitleEmpty()
check is there is a title not equals to "" |
boolean |
isValid()
check is the column num is valid |
static Column |
parse(java.lang.String str)
parse a string and return a Column object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int _column
private java.lang.String _title
Constructor Detail |
---|
Column(int column, java.lang.String title)
column
- column Numtitle
- column title to display in the legendColumn(int column)
column
- column NumColumn()
Method Detail |
---|
public int getColumn()
public java.lang.String getTitle()
public boolean isTitleEmpty()
public boolean isValid()
public void display()
public static Column parse(java.lang.String str)
str
- the string to parse (use the form columnNum:title)
|
################################################################## 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 |