@Override public void updateGraphics(double simTime) { super.updateGraphics(simTime); // Trap the pending cases if (!showPendingStates.getValue()) return; boolean threshOpen = super.isOpen(); try { if (getOpenConditionValue(simTime) == threshOpen) return; } catch (Throwable t) { return; } // Select the colour Color4d col; if (threshOpen) col = pendingClosedColour.getValue(); else col = pendingOpenColour.getValue(); // Display the threshold icon setTagVisibility(ShapeModel.TAG_CONTENTS, true); setTagVisibility(ShapeModel.TAG_OUTLINES, true); setTagColour(ShapeModel.TAG_CONTENTS, col); setTagColour(ShapeModel.TAG_OUTLINES, ColourInput.BLACK); }
public boolean getAlignBottom() { return alignBottom.getValue(); }
public boolean getAlignRight() { return alignRight.getValue(); }