Helper class for making ruler buttons in web applications.