com.sun.interview
public class ErrorQuestion extends NullQuestion
LEVEL_1, LEVEL_2, LEVEL_3, LEVEL_LEGACY, LEVEL_NONE
Constructor and Description |
---|
ErrorQuestion(Interview interview,
java.lang.String tag)
Create a question with a nominated tag.
|
Modifier and Type | Method and Description |
---|---|
Question |
getNext()
Get the next question to be asked.
|
boolean |
isValueAlwaysValid()
A NullQuestion does not have a value, and so this method always
returns true.
|
boolean |
isValueValid()
A NullQuestion does not have a value, and so this method always
returns true.
|
clear, getLevel, getStringValue, load, save, setLevel, setValue
addMarker, equals, export, getChecklistItems, getHelpID, getImage, getInterview, getKey, getResourceString, getResourceString, getSummary, getTag, getText, getTextArgs, hashCode, hasMarker, isEnabled, isHidden, reload, removeMarker, setImage, setImage, setSummary, setText
public ErrorQuestion(Interview interview, java.lang.String tag)
interview
- The interview containing this question.tag
- A unique tag to identify this specific question.public final Question getNext()
Question
public boolean isValueValid()
NullQuestion
isValueValid
in class NullQuestion
public boolean isValueAlwaysValid()
NullQuestion
isValueAlwaysValid
in class NullQuestion
Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.