Question: What are the Methods of the Scrollbar Class?
Answer: Sr. no. 1 Method name: void addAdjustmentListener (AdjustmentListener l) 
Description: It adds the given adjustment listener to receive instances of AdjustmentEvent from the scroll bar.
Sr. no. 2 Method name: void addNotify() 
Description: It creates the peer of scroll bar.
Sr. no. 3 Method name: int getBlockIncrement()
Description: It gets the block increment of the scroll bar.
Sr. no. 4 Method name: int getMaximum()
Description: It gets the maximum value of the scroll bar.
Sr. no. 5 Method name: int getMinimum()
Description: It gets the minimum value of the scroll bar.
Sr. no. 6 Method name: int getOrientation()
Description: It returns the orientation of scroll bar.
Sr. no. 7 Method name: int getUnitIncrement()
Description: int getUnitIncrement()
Sr. no. 8 Method name: int getValue()
Description: It fetches the current value of scroll bar.
Sr. no. 9 Method name: int getVisibleAmount()
Description: It fetches the visible amount of scroll bar.
Sr. no. 10 Method name: boolean getValueIsAdjusting()
Description: It returns true if the value is in process of changing where action results are being taken by the user.
Sr. no. 11 Method name: protected String paramString()
Description: It returns a string representing the state of Scroll bar.
Sr. no. 12 Method name: protected void processAdjustmentEvent (AdjustmentEvent e)
Description: It processes the adjustment event occurring on scroll bar by dispatching them to any registered AdjustmentListener objects.
Sr. no. 13 Method name: protected void processEvent(AWTEvent e)
Description: It processes the events on the scroll bar.
Sr. no. 14 Method name: void removeAdjustmentListener (AdjustmentListener l)
Description: It removes the given adjustment listener. Thus it no longer receives the instances of AdjustmentEvent from the scroll bar.
Sr. no. 15 Method name: void setBlockIncrement(int v)
Description: It sets the block increment from scroll bar.
Sr. no. 16 Method name: void setMaximum (int newMaximum)
Description: It sets the maximum value of the scroll bar.
Sr. no. 17 Method name: void setMinimum (int newMinimum)
Description: It sets the minimum value of the scroll bar.
Sr. no. 18 Method name: void setOrientation (int orientation)
Description: It sets the orientation for the scroll bar.
Sr. no. 19 Method name: void setUnitIncrement(int v)
Description: It sets the unit increment for the scroll bar.
Sr. no. 20 Method name: void setValue (int newValue)
Description: It sets the value of scroll bar with the given argument value.
Sr. no. 21 Method name: void setValueIsAdjusting (boolean b)
Description: It sets the valueIsAdjusting property to scroll bar.
Sr. no. 22 Method name: void setValues (int value, int visible, int minimum, int maximum)
Description: It sets the values of four properties for scroll bar: value, visible amount, minimum and maximum.
Sr. no. 23 Method name: void setVisibleAmount (int newAmount)
Description: It sets the visible amount of the scroll bar.
Sr. no. 24 Method name: AccessibleContext getAccessibleContext()
Description: It gets the accessible context related to the scroll bar.
Sr. no. 25 Method name: AdjustmentListener[] getAdjustmentListeners()
Description: It returns an array of al lthe adjustment listeners registered on the scroll bar.
Sr. no. 26 Method name: T[] getListeners(Class listenerType)
Description: It returns an array if all objects that are registered as FooListeners on the scroll bar currently.