Class Proposal
java.lang.Object
org.yamcs.studio.autocomplete.proposals.Proposal
- All Implemented Interfaces:
Comparable<Proposal>
Defines a proposal as it will be displayed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStyle
(ProposalStyle style) void
int
void
boolean
int
int
boolean
getValue()
int
hashCode()
void
boolean
boolean
void
setDescription
(String description) void
setFunction
(boolean isFunction) void
setInsertionPos
(int insertionPos) void
setOriginalValue
(String originalValue) void
setStartWithContent
(boolean startWithContent) toString()
-
Constructor Details
-
Proposal
-
-
Method Details
-
getInsertionPos
public int getInsertionPos() -
increment
public void increment() -
decrement
public void decrement() -
getOccurrence
public int getOccurrence() -
addStyle
-
addTooltipData
-
getValue
-
isPartial
public boolean isPartial() -
getDescription
-
setDescription
-
isFunction
public boolean isFunction() -
setFunction
public void setFunction(boolean isFunction) -
getStartWithContent
public boolean getStartWithContent() -
setStartWithContent
public void setStartWithContent(boolean startWithContent) -
getStyles
-
getTooltips
-
setInsertionPos
public void setInsertionPos(int insertionPos) -
getOriginalValue
-
setOriginalValue
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Proposal>
-
toString
-