com.levigo.util.swing.action
Interface GraphicsConfigurationValidateable

All Known Implementing Classes:
ActionJButton, ActionJCheckboxMenuItem, ActionJRadioMenuItem, DropDownToggleButton, IconJMenuItem, NonUglyActionJToggleButton, PopupJToggleButton, PopupMenuButton, VisibilityEnabledJCheckboxMenuItem, VisibilityEnabledJMenuItem, VisibilityEnabledJRadioMenuItem

public interface GraphicsConfigurationValidateable

In multi screen environments positioning of tooltips, popups and other graphics configuration dependent component functionalities do not work correctly caused by a VM bug. Some action framework components are able to apply a workaround for the erroneous VM behavior but with the cost of some performance penalty. These components are marked as realisations of this interface.

Author:
Carolin Köhler

Method Summary
 boolean isValidateGraphicsConfigurationEnabled()
          Returns the current state of this behavior.
 void setValidateGraphicsConfigurationEnabled(boolean enabled)
          Changes the current state of this behavior.
 

Method Detail

isValidateGraphicsConfigurationEnabled

boolean isValidateGraphicsConfigurationEnabled()
Returns the current state of this behavior. If enabled this component update its current graphics configuration whenever it is demanded by the cost of some performance penalty. Otherwise the may be outdated graphics configuration given by the component hierarchy is used.

Returns:
current state

setValidateGraphicsConfigurationEnabled

void setValidateGraphicsConfigurationEnabled(boolean enabled)
Changes the current state of this behavior. If enabled this component update its current graphics configuration whenever it is demanded by the cost of some performance penalty. Otherwise the may be outdated graphics configuration given by the component hierarchy is used.

Parameters:
enabled - new enabled state


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.