Package org.epics.pvdata.property
Interface PVDisplay
-
- All Known Implementing Classes:
PVDisplayFactory
public interface PVDisplayInterface for attaching a Display to a display structure.- Author:
- mrk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanattach(PVField pvField)Attempt to attach to a display field.voiddetach()Remove attachment to display field.voidget(Display display)Get the display values from the attached display field and write to the specified Display.booleanisAttached()Is this attached to a display structure.booleanset(Display display)Set the display.
-
-
-
Method Detail
-
attach
boolean attach(PVField pvField)
Attempt to attach to a display field. The field must either be an display field itself or the field must be named value and a display is found somewhere up the parent tree.- Parameters:
pvField- the field for which to find a display field- Returns:
- (false,true) if display field (not found, found)
-
detach
void detach()
Remove attachment to display field.
-
isAttached
boolean isAttached()
Is this attached to a display structure.- Returns:
- (false,true) is (not, is) attached to a display structure.
-
get
void get(Display display)
Get the display values from the attached display field and write to the specified Display.- Parameters:
display- the Display to be updated- Throws:
IllegalStateException- if this PVDisplay not attached to a display field
-
set
boolean set(Display display)
Set the display.- Parameters:
display- the new value- Returns:
- (false,true) if the display field is (immutable,updated).
-
-