Home » openjdk-7 » javax » swing » text » [javadoc | source]
class: ComponentView.Invalidator [javadoc | source]

All Implemented Interfaces:

This class feeds the invalidate back to the hosting View. This is needed to get the View hierarchy to consider giving the component a different size (i.e. layout may have been cached between the associated view and the container hosting this component).
Field Summary
 Dimension min     
 Dimension pref     
 Dimension max     
 float yalign     
 float xalign     
 Invalidator(Component child) 
Method from javax.swing.text.ComponentView$Invalidator Summary:
doLayout,   getAlignmentX,   getAlignmentY,   getFocusTraversalKeys,   getMaximumSize,   getMinimumSize,   getPreferredSize,   invalidate,   isShowing,   propertyChange,   setBounds,   setVisible,   validateIfNecessary
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.ComponentView$Invalidator Detail:
 public  void doLayout() 
 public float getAlignmentX() 
 public float getAlignmentY() 
 public Set<AWTKeyStroke> getFocusTraversalKeys(int id) 
 public Dimension getMaximumSize() 
 public Dimension getMinimumSize() 
 public Dimension getPreferredSize() 
 public  void invalidate() 
    The components invalid layout needs to be propagated through the view hierarchy so the views (which position the component) can have their layout recomputed.
 public boolean isShowing() 
    Overridden to fix 4759054. Must return true so that content is painted when inside a CellRendererPane which is normally invisible.
 public  void propertyChange(PropertyChangeEvent ev) 
 public  void setBounds(int x,
    int y,
    int w,
    int h) 
 public  void setVisible(boolean b) 
    Shows or hides this component depending on the value of parameter b.
 public  void validateIfNecessary()