public class ConsoleWidth extends ConsoleSetting<Integer>
Constructor and Description |
---|
ConsoleWidth()
Constructor
Default width is 80.
|
ConsoleWidth(Integer initValue)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getHelpLong()
Get long description
|
String |
getName()
Get the name of the command
|
void |
set(Integer value)
Set the value for this setting
|
void |
setFromString(String value)
Set the value for this setting from a string
|
clear, get, getAsString, getHelpShort, getInitValue, getType
public static final String NAME
public ConsoleWidth()
public ConsoleWidth(Integer initValue)
initValue
- public String getHelpLong()
ConsoleSetting
getHelpLong
in interface Help
getHelpLong
in class ConsoleSetting<Integer>
public String getName()
Help
public void set(Integer value) throws IllegalArgumentException
Setting
set
in interface Setting<Integer>
set
in class ConsoleSetting<Integer>
IllegalArgumentException
public void setFromString(String value) throws IllegalArgumentException
ConsoleSetting
setFromString
in class ConsoleSetting<Integer>
value
- string valueIllegalArgumentException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.