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, getTypepublic static final String NAME
public ConsoleWidth()
public ConsoleWidth(Integer initValue)
initValue - public String getHelpLong()
ConsoleSettinggetHelpLong in interface HelpgetHelpLong in class ConsoleSetting<Integer>public String getName()
Helppublic void set(Integer value) throws IllegalArgumentException
Settingset in interface Setting<Integer>set in class ConsoleSetting<Integer>IllegalArgumentExceptionpublic void setFromString(String value) throws IllegalArgumentException
ConsoleSettingsetFromString in class ConsoleSetting<Integer>value - string valueIllegalArgumentExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.